From 9a485a971adb20d73283c4bca5c51b42aea99752 Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Sat, 16 Jun 2018 16:16:19 -0400 Subject: [PATCH] claim first reward on phone verification Didn't test this, but it should function the same way as the credit card portion on line 303 --- src/renderer/redux/actions/user.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/redux/actions/user.js b/src/renderer/redux/actions/user.js index 7b9e96d66..9753bbc67 100644 --- a/src/renderer/redux/actions/user.js +++ b/src/renderer/redux/actions/user.js @@ -168,6 +168,7 @@ export function doUserPhoneVerify(verificationCode) { data: { phone_number: phoneNumber }, }); dispatch(doUserFetch()); + dispatch(doClaimRewardType(rewards.TYPE_NEW_USER)); }) .catch(error => dispatch(doUserPhoneVerifyFailure(error))); };