Skip to content

Commit

Permalink
Refactor team delete and update and Fixed team feature
Browse files Browse the repository at this point in the history
  • Loading branch information
bdmehedi committed Jan 23, 2024
1 parent 96b0fd1 commit 7666d65
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 7666d65

Please sign in to comment.