diff --git a/src/api/models/user.model.js b/src/api/models/user.model.js index 5588e3f4..250faea7 100644 --- a/src/api/models/user.model.js +++ b/src/api/models/user.model.js @@ -101,7 +101,7 @@ userSchema.method({ }, async passwordMatches(password) { - return await bcrypt.compare(password, this.password); // eslint-disable-line no-return-await + return bcrypt.compare(password, this.password); }, });