fix:
This commit is contained in:
parent
e75f009af4
commit
c272bce905
3 changed files with 13 additions and 3 deletions
6
dist/bundle.es.js
vendored
6
dist/bundle.es.js
vendored
|
@ -1841,7 +1841,11 @@ function doClaimRewardType(rewardType, options = {}) {
|
|||
|
||||
|
||||
const params = options.params || {};
|
||||
params.claim_code = reward.claim_code;
|
||||
|
||||
if (!params.claim_code) {
|
||||
params.claim_code = reward.claim_code;
|
||||
}
|
||||
|
||||
dispatch({
|
||||
type: lbryRedux.ACTIONS.CLAIM_REWARD_STARTED,
|
||||
data: {
|
||||
|
|
6
dist/bundle.js
vendored
6
dist/bundle.js
vendored
|
@ -4426,7 +4426,11 @@ function doClaimRewardType(rewardType) {
|
|||
|
||||
|
||||
var params = options.params || {};
|
||||
params.claim_code = reward.claim_code;
|
||||
|
||||
if (!params.claim_code) {
|
||||
params.claim_code = reward.claim_code;
|
||||
}
|
||||
|
||||
dispatch({
|
||||
type: lbry_redux__WEBPACK_IMPORTED_MODULE_1__["ACTIONS"].CLAIM_REWARD_STARTED,
|
||||
data: {
|
||||
|
|
|
@ -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
|
||||
const params = options.params || {};
|
||||
params.claim_code = reward.claim_code;
|
||||
if (!params.claim_code) {
|
||||
params.claim_code = reward.claim_code;
|
||||
}
|
||||
|
||||
dispatch({
|
||||
type: ACTIONS.CLAIM_REWARD_STARTED,
|
||||
|
|
Loading…
Reference in a new issue