bug fixes

This commit is contained in:
Josh Harvey 2016-05-09 23:02:01 +03:00
parent 014033b73e
commit 653b55dc1a
2 changed files with 12 additions and 9 deletions

View file

@ -244,7 +244,7 @@ function fetchPhoneTx (req, res) {
function registerRedeem (req, res) {
return plugins.registerRedeem(session(req))
.then(r => res.json())
.then(() => res.json({success: true}))
.catch(err => {
logger.error(err)
res.send(500)