improve incoming tx status updating
This commit is contained in:
parent
2dc332cf1a
commit
38e562bdd6
3 changed files with 49 additions and 17 deletions
|
|
@ -210,7 +210,10 @@ function pair (req, res) {
|
|||
getFingerprint(req),
|
||||
name,
|
||||
function (err) {
|
||||
if (err) return res.send(500).json({ err: err.message })
|
||||
if (err) {
|
||||
logger.error(err)
|
||||
return res.json({err: err.message})
|
||||
}
|
||||
|
||||
res.json({success: true})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue