diff options
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); |
