From 5de1898d1319fc6fd9a9b4c4807daf9770597afd Mon Sep 17 00:00:00 2001 From: Mike Fitzpatrick Date: Thu, 8 Mar 2018 14:47:01 -0500 Subject: [PATCH] Turn off cruises for now --- models/cruise.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/cruise.js b/models/cruise.js index 754d99d..77861c6 100644 --- a/models/cruise.js +++ b/models/cruise.js @@ -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