Merge pull request #634 from lbryio/longChannelId-fix

fix "longChannelId does not exist"
This commit is contained in:
Shawn K 2018-10-17 12:27:03 -05:00 committed by GitHub
commit a8eed2f4a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;