Skip to content

Commit

Permalink
adding parameter on write and makeRequestWithSideEffects
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldoglas committed Jun 11, 2024
1 parent 774a196 commit dd6bbb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libs/API/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ function write<TCommand extends WriteCommand>(command: TCommand, apiCommandParam
// This should be removed once we are no longer using deprecatedAPI https://github.com/Expensify/Expensify/issues/215650
shouldRetry: true,
canCancel: true,
clientUpdateID: lastUpdateIDAppliedToClient,
},
...onyxDataWithoutOptimisticData,
};
Expand Down Expand Up @@ -139,6 +140,7 @@ function makeRequestWithSideEffects<TCommand extends SideEffectRequestCommand |
...apiCommandParameters,
appversion: pkg.version,
apiRequestType,
clientUpdateID: lastUpdateIDAppliedToClient,
};

// Assemble all the request data we'll be storing
Expand Down

0 comments on commit dd6bbb2

Please sign in to comment.