style(names): rawData -> data; oneliners reverted
This commit is contained in:
parent
1d3a8d403d
commit
8dfae6d291
2 changed files with 6 additions and 10 deletions
|
|
@ -77,9 +77,7 @@ function verifyUser(req, res) {
|
|||
plugins.verifyUser(req.body, function (err, idResult) {
|
||||
if (err) {
|
||||
logger.error(err);
|
||||
return res.json({
|
||||
err: 'Verification failed'
|
||||
});
|
||||
return res.json({err: 'Verification failed'});
|
||||
}
|
||||
|
||||
res.json(idResult);
|
||||
|
|
@ -92,9 +90,7 @@ function verifyTransaction(req, res) {
|
|||
plugins.verifyTransaction(req.body, function (err, idResult) {
|
||||
if (err) {
|
||||
logger.error(err);
|
||||
return res.json({
|
||||
err: 'Verification failed'
|
||||
});
|
||||
return res.json({err: 'Verification failed'});
|
||||
}
|
||||
|
||||
res.json(idResult);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue