Skip to content

Commit

Permalink
Reset completedTaskReportActionID to undefined so it's not passed…
Browse files Browse the repository at this point in the history
… to the backend when not used
  • Loading branch information
francoisl committed Nov 4, 2024
1 parent 4aa007b commit 77b483c
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 @@ -3505,7 +3505,7 @@ function completeOnboarding(
parentReportActionID: taskReportAction.reportAction.reportActionID,
assigneeChatReportID: '',
createdTaskReportActionID: taskCreatedAction.reportActionID,
completedTaskReportActionID: completedTaskReportAction?.reportActionID ?? '-1',
completedTaskReportActionID: completedTaskReportAction?.reportActionID ?? undefined,
title: currentTask.reportName ?? '',
description: taskDescription ?? '',
}));
Expand Down

0 comments on commit 77b483c

Please sign in to comment.