Skip to content

Commit

Permalink
Merge pull request #36769 from Expensify/jack-fixSavedReportFields
Browse files Browse the repository at this point in the history
Fix saved reportField values
  • Loading branch information
jasperhuangg authored Feb 21, 2024
2 parents b174f8a + ebf281d commit 6989089
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 @@ -1610,7 +1610,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 6989089

Please sign in to comment.