added api routes for getting short ids

This commit is contained in:
bill bittner 2017-09-28 11:42:29 -07:00
parent bd2a48f883
commit 65b5384330
5 changed files with 34 additions and 4 deletions

View file

@ -150,7 +150,7 @@ module.exports = {
// 2. get all claims for that channel
.then(result => {
longChannelId = result;
return db.getShortChannelIdFromLongChannelId(channelName, longChannelId);
return db.getShortChannelIdFromLongChannelId(longChannelId, channelName);
})
// 3. get all Claim records for this channel
.then(result => {