support backwards compat with raqia redeem

This commit is contained in:
Josh Harvey 2016-05-11 17:56:26 +03:00
parent c4cbe0f6bb
commit 8579f2fd2d
3 changed files with 9 additions and 9 deletions

View file

@ -797,8 +797,8 @@ exports.getPhoneCode = function getPhoneCode (phone) {
.then(() => code)
}
exports.updatePhone = function updatePhone (session, tx) {
return db.addIncomingPhone(session, tx)
exports.updatePhone = function updatePhone (session, tx, notified) {
return db.addIncomingPhone(session, tx, notified)
}
exports.registerRedeem = function registerRedeem (session) {