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 => {
userInfo['shortChannelId'] = shortChannelId;
return done(null, userInfo);
// done(null, userInfo);
// return null;
// return done(null, userInfo);
done(null, userInfo);
return null;
})
.catch(error => {
logger.error(error);