Turn off cruises for now
This commit is contained in:
@@ -51,7 +51,7 @@ const CruiseSchema = new Mongoose.Schema({
|
|||||||
text: String
|
text: String
|
||||||
});
|
});
|
||||||
|
|
||||||
CruiseSchema.index({ 'location.loc': '2dsphere' });
|
//CruiseSchema.index({ 'location.loc': '2dsphere' });
|
||||||
|
|
||||||
CruiseSchema.pre('findOneAndUpdate', function (next) {
|
CruiseSchema.pre('findOneAndUpdate', function (next) {
|
||||||
var cnt = 0
|
var cnt = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user