mirror of
https://github.com/wassname/talk.git
synced 2026-10-30 13:50:47 +08:00
unused variable
This commit is contained in:
1 parent
fb2f8ef074
commit
4b0d0fed53
1 file changed
+1
-1
@@ -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