mirror of
https://github.com/wassname/talk.git
synced 2026-07-14 11:18:50 +08:00
unused variable
This commit is contained in:
@@ -104,7 +104,7 @@ router.put('/password/reset', (req, res, next) => {
|
||||
.then(([user, loc]) => {
|
||||
return Promise.all([UsersService.changePassword(user.id, password), loc]);
|
||||
})
|
||||
.then(([_, loc]) => {
|
||||
.then(([ , loc]) => {
|
||||
res.json({redirect: loc});
|
||||
})
|
||||
.catch(() => {
|
||||
|
||||
Reference in New Issue
Block a user