mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Fix lint error
This commit is contained in:
@@ -308,8 +308,6 @@ api.resetPassword = {
|
||||
]);
|
||||
|
||||
await user.save();
|
||||
} else {
|
||||
let user = await User.findOne({ 'auth.google.email': email }).exec();
|
||||
}
|
||||
|
||||
res.respond(200, {}, res.t('passwordReset'));
|
||||
|
||||
@@ -20,7 +20,6 @@ import { getMatchesByWordArray } from '../../libs/stringUtils';
|
||||
import bannedSlurs from '../../libs/bannedSlurs';
|
||||
import apiError from '../../libs/apiError';
|
||||
import {highlightMentions} from '../../libs/highlightMentions';
|
||||
import {sendNotification} from '../../libs/pushNotifications';
|
||||
|
||||
const FLAG_REPORT_EMAILS = nconf.get('FLAG_REPORT_EMAIL').split(',').map((email) => {
|
||||
return { email, canSend: true };
|
||||
|
||||
Reference in New Issue
Block a user