fix: 0.38 claim search changes

This commit is contained in:
Thomas Zarebczan 2019-06-09 16:10:33 -04:00
parent c7b677279a
commit a85b77b4bc
3 changed files with 6 additions and 3 deletions

3
dist/bundle.es.js vendored
View file

@ -1559,7 +1559,8 @@ const doCheckSubscription = (subscriptionUri, shouldNotify) => (dispatch, getSta
channel_name: subscriptionUri,
page: 1,
page_size: PAGE_SIZE,
winning: true
is_controlling: true,
order_by: ['release_time']
}).then(result => {
const {
items: claimsInChannel

3
dist/bundle.js vendored
View file

@ -2554,7 +2554,8 @@ var doCheckSubscription = function doCheckSubscription(subscriptionUri, shouldNo
channel_name: subscriptionUri,
page: 1,
page_size: constants_claim__WEBPACK_IMPORTED_MODULE_0__["PAGE_SIZE"],
winning: true
is_controlling: true,
order_by: ['release_time']
}).then(function (result) {
var claimsInChannel = result.items; // may happen if subscribed to an abandoned channel or an empty channel

View file

@ -161,7 +161,8 @@ export const doCheckSubscription = (subscriptionUri: string, shouldNotify?: bool
channel_name: subscriptionUri,
page: 1,
page_size: PAGE_SIZE,
winning: true,
is_controlling: true,
order_by: ['release_time'],
}).then(result => {
const { items: claimsInChannel } = result;