Skip to content

Commit

Permalink
fix: change params
Browse files Browse the repository at this point in the history
  • Loading branch information
barttom committed Apr 10, 2024
1 parent 1077782 commit a8d97de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/actions/Report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2945,6 +2945,7 @@ function completeOnboarding(properties: {
key: ONYXKEYS.NVP_INTRO_SELECTED,
value: {choice: engagementChoice},
},
...tasksForOptimisticData,
];
const successData: OnyxUpdate[] = [

Check failure on line 2950 in src/libs/actions/Report.ts

View workflow job for this annotation

GitHub Actions / Run ESLint

'successData' is assigned a value but never used
{
Expand All @@ -2958,7 +2959,7 @@ function completeOnboarding(properties: {
engagementChoice,
firstName,
lastName,
data: JSON.stringify([{type: 'message', ...textMessage}, {type: 'video', ...data.video, ...videoMessage}, ...tasksForParameters]),
guidedSetupData: JSON.stringify([{type: 'message', ...textMessage}, {type: 'video', ...data.video, ...videoMessage}, ...tasksForParameters]),
};

API.write(WRITE_COMMANDS.COMPLETE_GUIDED_SETUP, parameters, {});
Expand Down

0 comments on commit a8d97de

Please sign in to comment.