mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-19 18:24:12 +00:00
Fix lint error
This commit is contained in:
parent
2d3f2500e8
commit
e2781964bb
2 changed files with 0 additions and 3 deletions
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Reference in a new issue