Skip to content

Commit

Permalink
Update Report.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
thienlnam committed Feb 18, 2024
1 parent 6f3d8f6 commit ebf281d
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 @@ -1608,7 +1608,7 @@ function updateReportField(reportID: string, reportField: PolicyReportField, pre

const parameters = {
reportID,
reportFields: JSON.stringify({[reportField.fieldID]: reportField}),
reportFields: JSON.stringify({[`expensify_${reportField.fieldID}`]: reportField}),
};

API.write(WRITE_COMMANDS.SET_REPORT_FIELD, parameters, {optimisticData, failureData, successData});
Expand Down

0 comments on commit ebf281d

Please sign in to comment.