WIP -- fix back compat with raqia
This commit is contained in:
parent
ca161fb9f2
commit
190efd4d70
2 changed files with 5 additions and 3 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(res => res.json(res))
|
||||
.then(r => res.json(r))
|
||||
.catch(err => {
|
||||
logger.error(err)
|
||||
res.sendStatus(500)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue