Turn off cruises for now

This commit is contained in:
2018-03-08 14:47:01 -05:00
parent b653fd2eaf
commit 5de1898d13

View File

@@ -51,7 +51,7 @@ const CruiseSchema = new Mongoose.Schema({
text: String
});
CruiseSchema.index({ 'location.loc': '2dsphere' });
//CruiseSchema.index({ 'location.loc': '2dsphere' });
CruiseSchema.pre('findOneAndUpdate', function (next) {
var cnt = 0