From 7666d653ad2ee8215b08870d7496ce7b592b9bc7 Mon Sep 17 00:00:00 2001 From: bdmehedi Date: Tue, 23 Jan 2024 17:22:22 +0600 Subject: [PATCH] Refactor team delete and update and Fixed team feature --- includes/Rest/Users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Rest/Users.php b/includes/Rest/Users.php index b8a6c62..c7341e9 100644 --- a/includes/Rest/Users.php +++ b/includes/Rest/Users.php @@ -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,