Skip to content

Commit

Permalink
Add taskReportAction to the reduce
Browse files Browse the repository at this point in the history
  • Loading branch information
mountiny committed Jun 12, 2024
1 parent 9e3f74a commit 20621a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/Report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3299,7 +3299,7 @@ function completeOnboarding(
return acc;
}, []);

const tasksForSuccessData = tasksData.reduce<OnyxUpdate[]>((acc, {currentTask, taskCreatedAction, completedTaskReportAction}) => {
const tasksForSuccessData = tasksData.reduce<OnyxUpdate[]>((acc, {currentTask, taskCreatedAction, taskReportAction, completedTaskReportAction}) => {
acc.push(
{
onyxMethod: Onyx.METHOD.MERGE,
Expand Down

0 comments on commit 20621a1

Please sign in to comment.