Merge pull request #1919 from lbryio/subscription-claim-list

Fix calling claim_list with wrong params
This commit is contained in:
Sean Yesmunt 2018-08-28 17:59:50 -04:00 committed by GitHub
commit d04f43d4ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -249,8 +249,7 @@ export const doChannelSubscribe = (subscription: Subscription) => (
dispatch(doClaimRewardType(rewards.SUBSCRIPTION, { failSilently: true }));
}
// should be subUri
dispatch(doCheckSubscription(subscription, true));
dispatch(doCheckSubscription(subscription.uri, true));
};
export const doChannelUnsubscribe = (subscription: Subscription) => (