added api routes for getting short ids
This commit is contained in:
parent
bd2a48f883
commit
65b5384330
5 changed files with 34 additions and 4 deletions
controllers
|
@ -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 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue