use channelId as argument variable

This commit is contained in:
Travis Eden 2018-10-17 12:10:30 -04:00
parent bd3b43646e
commit e857a88e38

View file

@ -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;