diff options
| author | Ivan Chen <ivan@thetaggid.com> | 2021-02-20 12:12:04 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-20 12:12:04 -0500 |
| commit | fbda685fe7eaa1acc5f80a4c748d4253da9e11e0 (patch) | |
| tree | 2078369aa878324088e62b998de76e0a5e487819 /src/store/actions | |
| parent | f4d8c3058ac601b0652f28e4ac5e3a6360b7bbd7 (diff) | |
| parent | 8357cea9e510c97ba8816cb6850541509c5d764e (diff) | |
Merge pull request #253 from shravyaramesh/tma644-edit-suggested
Tma644 edit suggested
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); |
