fixed unreturned promise
This commit is contained in:
parent
07f6c02f60
commit
1c204df793
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue