From c00e7355cfefb54fb8da37ee06ef373b0fcd919f Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Mon, 22 Jul 2019 14:12:54 -0400 Subject: [PATCH] fix: claim search uses channel, not channel name --- dist/bundle.es.js | 2 +- dist/bundle.js | 2 +- src/redux/actions/subscriptions.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/bundle.es.js b/dist/bundle.es.js index a26c62b..ef47181 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -1565,7 +1565,7 @@ const doCheckSubscription = (subscriptionUri, shouldNotify) => (dispatch, getSta lbryRedux.Lbry.claim_search({ - channel_name: subscriptionUri, + channel: subscriptionUri, page: 1, page_size: PAGE_SIZE, valid_channel_signature: true, diff --git a/dist/bundle.js b/dist/bundle.js index fb5239a..e50abce 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -2572,7 +2572,7 @@ var doCheckSubscription = function doCheckSubscription(subscriptionUri, shouldNo lbry_redux__WEBPACK_IMPORTED_MODULE_3__["Lbry"].claim_search({ - channel_name: subscriptionUri, + channel: subscriptionUri, page: 1, page_size: constants_claim__WEBPACK_IMPORTED_MODULE_0__["PAGE_SIZE"], valid_channel_signature: true, diff --git a/src/redux/actions/subscriptions.js b/src/redux/actions/subscriptions.js index 6e969e8..5794ab4 100644 --- a/src/redux/actions/subscriptions.js +++ b/src/redux/actions/subscriptions.js @@ -158,7 +158,7 @@ export const doCheckSubscription = (subscriptionUri: string, shouldNotify?: bool // We may be duplicating calls here. Can this logic be baked into doFetchClaimsByChannel? Lbry.claim_search({ - channel_name: subscriptionUri, + channel: subscriptionUri, page: 1, page_size: PAGE_SIZE, valid_channel_signature: true,