Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
aldo-expensify committed Mar 26, 2024
1 parent 7ecd3fe commit 5b04afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/Policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ function deleteWorkspace(policyID: string, policyName: string) {

const params: DeleteWorkspaceParams = {policyID};

API.write(WRITE_COMMANDS.DELETE_WORKSPACE, params, {optimisticData, successData, failureData});
API.write(WRITE_COMMANDS.DELETE_WORKSPACE, params, {optimisticData, finallyData, failureData});

// Reset the lastAccessedWorkspacePolicyID
if (policyID === lastAccessedWorkspacePolicyID) {
Expand Down

0 comments on commit 5b04afe

Please sign in to comment.