fix invite reward claim

This commit is contained in:
Jeremy Kauffman 2017-08-31 14:23:57 -04:00
parent 421f88a077
commit c06009f006
2 changed files with 2 additions and 2 deletions

View file

@ -76,7 +76,7 @@ export function doClaimRewardType(rewardType) {
}); });
}; };
rewards.claimReward(reward.reward_type).then(success, failure); rewards.claimReward(rewardType).then(success, failure);
}; };
} }

View file

@ -50,7 +50,7 @@ class InviteList extends React.PureComponent {
: invitee.invite_accepted : invitee.invite_accepted
? <RewardLink ? <RewardLink
label={__("Claim")} label={__("Claim")}
reward_type={rewards.TYPE_FIRST_PUBLISH} reward_type={rewards.TYPE_REFERRAL}
/> />
: <span className="empty"> : <span className="empty">
{__("unclaimable")} {__("unclaimable")}