Skip to content

Commit

Permalink
Merge pull request #347 from weMail/fix/team
Browse files Browse the repository at this point in the history
Refactor team delete and update and Fixed team feature
  • Loading branch information
bdmehedi authored Jan 24, 2024
2 parents ca8c015 + 7666d65 commit c385ea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Rest/Users.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function update( $request ) {
if ( $access_token ) {
wemail()->api->set_api_key( $access_token[0] );
foreach ( $users as $user ) {
$response = wemail()->api->auth()->users()->move()->post(
$response = wemail()->api->teamUsers()->update()->put(
[
'email' => $user,
'role' => $role,
Expand Down

0 comments on commit c385ea3

Please sign in to comment.