use channelId as argument variable
This commit is contained in:
parent
bd3b43646e
commit
e857a88e38
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);
|
let claimId = await chainquery.claim.queries.getClaimIdByLongChannelId(channelId, claimName);
|
||||||
|
|
||||||
if(claimId === null) {
|
if(claimId === null) {
|
||||||
claimId = db.Claim.getClaimIdByLongChannelId(longChannelId, claimName);
|
claimId = db.Claim.getClaimIdByLongChannelId(channelId, claimName);
|
||||||
}
|
}
|
||||||
|
|
||||||
return claimId;
|
return claimId;
|
||||||
|
|
Loading…
Reference in a new issue