Merge pull request #634 from lbryio/longChannelId-fix
fix "longChannelId does not exist"
This commit is contained in:
commit
a8eed2f4a2
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ const getClaimIdByChannel = async (channelName, channelClaimId, claimName) => {
|
|||
let claimId = await chainquery.claim.queries.getClaimIdByLongChannelId(channelId, claimName);
|
||||
|
||||
if(claimId === null) {
|
||||
claimId = db.Claim.getClaimIdByLongChannelId(longChannelId, claimName);
|
||||
claimId = db.Claim.getClaimIdByLongChannelId(channelId, claimName);
|
||||
}
|
||||
|
||||
return claimId;
|
||||
|
|
Loading…
Reference in a new issue