Skip to content

Commit 92aec4a

Browse files
Dropped all indexes and fixed weird index bug
1 parent c118deb commit 92aec4a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/data/data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@
104104
}
105105
}
106106
}
107-
]
107+
]

src/models/user.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const UserSchema = new mongoose.Schema({
2121
required: true
2222
}
2323
});
24+
2425
// authenticate input against database documents
2526
UserSchema.statics.authenticate = function(email, password, callback) {
2627
User.findOne({ emailAddress: email })

0 commit comments

Comments
 (0)