Merge pull request #1619 from lbryio/phone-rewards

claim first reward on phone verification
This commit is contained in:
Sean Yesmunt 2018-06-17 22:05:01 -04:00 committed by GitHub
commit ea9d89ef2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -168,6 +168,7 @@ export function doUserPhoneVerify(verificationCode) {
data: { phone_number: phoneNumber }, data: { phone_number: phoneNumber },
}); });
dispatch(doUserFetch()); dispatch(doUserFetch());
dispatch(doClaimRewardType(rewards.TYPE_NEW_USER));
}) })
.catch(error => dispatch(doUserPhoneVerifyFailure(error))); .catch(error => dispatch(doUserPhoneVerifyFailure(error)));
}; };