fix: claim search uses channel, not channel name

This commit is contained in:
Thomas Zarebczan 2019-07-22 14:12:54 -04:00
parent a93596c51c
commit c00e7355cf
3 changed files with 3 additions and 3 deletions

2
dist/bundle.es.js vendored
View file

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

2
dist/bundle.js vendored
View file

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

View file

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