diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-02-20 12:24:33 -0500 |
|---|---|---|
| committer | Ivan Chen <ivan@tagg.id> | 2021-02-20 12:24:33 -0500 |
| commit | 82fc3c7ded1022a31cd532d469457d77f9214cc8 (patch) | |
| tree | 08aeb9ce90be7ca69b56923bab6c34871b3a793a /src/store/actions | |
| parent | 9db520bf91b9c157ab2c9d2d3696348e031698d2 (diff) | |
| parent | 4b8130932b943afe9fdf63c611f1897622ab795e (diff) | |
Merge branch 'master' into tma258-sp-pagination-2
# Conflicts:
# src/constants/api.ts
# src/screens/suggestedPeople/SuggestedPeopleScreen.tsx
# src/services/SuggestedPeopleService.ts
Diffstat (limited to 'src/store/actions')
| -rw-r--r-- | src/store/actions/user.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/store/actions/user.ts b/src/store/actions/user.ts index ef134dc5..3511dcf3 100644 --- a/src/store/actions/user.ts +++ b/src/store/actions/user.ts @@ -172,7 +172,7 @@ export const uploadedSuggestedPeoplePhoto = (): ThunkAction< try { dispatch({ type: setSuggestedPeopleLinked.type, - payload: {stage: 1}, + payload: {suggested_people_linked: 1}, }); } catch (error) { console.log(error); @@ -191,7 +191,7 @@ export const suggestedPeopleAnimatedTutorialFinished = ( // update store first, assume request is successful dispatch({ type: setSuggestedPeopleLinked.type, - payload: {stage: 2}, + payload: {suggested_people_linked: 2}, }); // need to tell the server that the stage is now 2 return await sendSuggestedPeopleLinked(userId, 2); |
