Skip to content

Commit

Permalink
update the first entry
Browse files Browse the repository at this point in the history
  • Loading branch information
thienlnam committed Sep 9, 2022
1 parent 9985634 commit 82f80ad
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions src/libs/actions/Policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,11 @@ function createWorkspace() {
{
onyxMethod: CONST.ONYX.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${announceChatReportID}`,
value: {pendingAction: null},
value: {
0: {
pendingAction: null,
},
},
},
{
onyxMethod: CONST.ONYX.METHOD.MERGE,
Expand All @@ -900,7 +904,11 @@ function createWorkspace() {
{
onyxMethod: CONST.ONYX.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${adminsChatReportID}`,
value: {pendingAction: null},
value: {
0: {
pendingAction: null,
},
},
},
{
onyxMethod: CONST.ONYX.METHOD.MERGE,
Expand All @@ -910,7 +918,11 @@ function createWorkspace() {
{
onyxMethod: CONST.ONYX.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${expenseChatReportID}`,
value: {pendingAction: null},
value: {
0: {
pendingAction: null,
},
},
}],
failureData: [{
onyxMethod: CONST.ONYX.METHOD.SET,
Expand Down

0 comments on commit 82f80ad

Please sign in to comment.