From d6f28f5e96641e499e05de1222180f001c311ebc Mon Sep 17 00:00:00 2001 From: Hans Kristian Flaatten Date: Tue, 23 Aug 2016 20:31:59 +0200 Subject: [PATCH] fix(eslint): resolve object-curly-spacing errors --- models/Checkin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/Checkin.js b/models/Checkin.js index 09a7b7d..1148401 100644 --- a/models/Checkin.js +++ b/models/Checkin.js @@ -18,6 +18,6 @@ const checkinSchema = new Schema({ dnt_user_id: { type: Number, ref: 'User' }, }); -checkinSchema.index({location: '2dsphere'}); +checkinSchema.index({ location: '2dsphere' }); module.exports = mongoose.model('Checkin', checkinSchema);