fix raqia back compat
This commit is contained in:
parent
6cfe2259cc
commit
ca161fb9f2
2 changed files with 4 additions and 4 deletions
|
|
@ -240,7 +240,7 @@ function phoneCode (req, res) {
|
|||
function updatePhone (req, res) {
|
||||
const notified = req.query.notified === 'true'
|
||||
return plugins.updatePhone(session(req), req.body, notified)
|
||||
.then(code => res.json(200))
|
||||
.then(res => res.json(res))
|
||||
.catch(err => {
|
||||
logger.error(err)
|
||||
res.sendStatus(500)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue