Compare commits

...

1 commit

Author SHA1 Message Date
Thomas Zarebczan
c272bce905
fix: 2020-03-27 16:47:55 -04:00
3 changed files with 13 additions and 3 deletions

6
dist/bundle.es.js vendored
View file

@ -1841,7 +1841,11 @@ function doClaimRewardType(rewardType, options = {}) {
const params = options.params || {}; const params = options.params || {};
params.claim_code = reward.claim_code;
if (!params.claim_code) {
params.claim_code = reward.claim_code;
}
dispatch({ dispatch({
type: lbryRedux.ACTIONS.CLAIM_REWARD_STARTED, type: lbryRedux.ACTIONS.CLAIM_REWARD_STARTED,
data: { data: {

6
dist/bundle.js vendored
View file

@ -4426,7 +4426,11 @@ function doClaimRewardType(rewardType) {
var params = options.params || {}; var params = options.params || {};
params.claim_code = reward.claim_code;
if (!params.claim_code) {
params.claim_code = reward.claim_code;
}
dispatch({ dispatch({
type: lbry_redux__WEBPACK_IMPORTED_MODULE_1__["ACTIONS"].CLAIM_REWARD_STARTED, type: lbry_redux__WEBPACK_IMPORTED_MODULE_1__["ACTIONS"].CLAIM_REWARD_STARTED,
data: { data: {

View file

@ -65,7 +65,9 @@ export function doClaimRewardType(rewardType, options = {}) {
// Set `claim_code` so the api knows which reward to give if there are multiple of the same type // Set `claim_code` so the api knows which reward to give if there are multiple of the same type
const params = options.params || {}; const params = options.params || {};
params.claim_code = reward.claim_code; if (!params.claim_code) {
params.claim_code = reward.claim_code;
}
dispatch({ dispatch({
type: ACTIONS.CLAIM_REWARD_STARTED, type: ACTIONS.CLAIM_REWARD_STARTED,