fix: claim search uses channel, not channel name #44

Merged
tzarebczan merged 1 commit from fix_claim_search into master 2019-07-22 20:15:10 +02:00
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({ lbryRedux.Lbry.claim_search({
channel_name: subscriptionUri, channel: subscriptionUri,
page: 1, page: 1,
page_size: PAGE_SIZE, page_size: PAGE_SIZE,
valid_channel_signature: true, 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({ lbry_redux__WEBPACK_IMPORTED_MODULE_3__["Lbry"].claim_search({
channel_name: subscriptionUri, channel: subscriptionUri,
page: 1, page: 1,
page_size: constants_claim__WEBPACK_IMPORTED_MODULE_0__["PAGE_SIZE"], page_size: constants_claim__WEBPACK_IMPORTED_MODULE_0__["PAGE_SIZE"],
valid_channel_signature: true, 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? // We may be duplicating calls here. Can this logic be baked into doFetchClaimsByChannel?
Lbry.claim_search({ Lbry.claim_search({
channel_name: subscriptionUri, channel: subscriptionUri,
page: 1, page: 1,
page_size: PAGE_SIZE, page_size: PAGE_SIZE,
valid_channel_signature: true, valid_channel_signature: true,