fix redeem bugs

This commit is contained in:
Josh Harvey 2017-04-24 17:28:54 +03:00
parent 91e1077daa
commit dd7d06f38b
4 changed files with 17 additions and 6 deletions

View file

@ -90,6 +90,7 @@ function getTx (req, res, next) {
function getPhoneTx (req, res, next) {
if (req.query.phone) {
console.log('DEBUG120: %s', req.query.phone)
return helpers.fetchPhoneTx(req.query.phone)
.then(r => res.json(r))
.catch(next)