Skip to content

Commit

Permalink
Add openWorkspace docs
Browse files Browse the repository at this point in the history
  • Loading branch information
WojtekBoman committed Jan 18, 2024
1 parent 2c9b08f commit 76cda90
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libs/actions/Policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1488,6 +1488,9 @@ function openWorkspaceReimburseView(policyID: string) {
API.read('OpenWorkspaceReimburseView', params, {successData, failureData});
}

/**
* Returns the accountIDs of the members of the policy whose data is passed in the parameters
*/
function openWorkspace(policyID: string, clientMemberAccountIDs: number[]) {
if (!policyID || !clientMemberAccountIDs) {
Log.warn('openWorkspace invalid params', {policyID, clientMemberAccountIDs});
Expand Down

0 comments on commit 76cda90

Please sign in to comment.