Skip to content

Commit

Permalink
Merge pull request #4318 from Expensify/joe-mobile-workspace-remove
Browse files Browse the repository at this point in the history
Send emailList as string when removing from workspace
  • Loading branch information
robertjchen authored Jul 30, 2021
2 parents 69d740a + 017ebd8 commit f856107
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/actions/Policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ function removeMembers(members, policyID) {
// Optimistically remove the members from the policy
Onyx.set(key, policy);

// Make the API call to merge the login into the policy
// Make the API call to remove a login from the policy
API.Policy_Employees_Remove({
emailList: members,
emailList: members.join(','),
policyID,
})
.then((data) => {
Expand Down

0 comments on commit f856107

Please sign in to comment.