fix "longChannelId does not exist" #634

Merged
daovist merged 1 commit from longChannelId-fix into master 2018-10-17 19:27:04 +02:00
Showing only changes of commit e857a88e38 - Show all commits

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;