fixed unreturned promise

This commit is contained in:
bill bittner 2017-10-26 08:46:00 -07:00
parent 07f6c02f60
commit 1c204df793

View file

@ -32,9 +32,9 @@ module.exports = {
}) })
.then(shortChannelId => { .then(shortChannelId => {
userInfo['shortChannelId'] = shortChannelId; userInfo['shortChannelId'] = shortChannelId;
return done(null, userInfo); // return done(null, userInfo);
// done(null, userInfo); done(null, userInfo);
// return null; return null;
}) })
.catch(error => { .catch(error => {
logger.error(error); logger.error(error);