From 7e604cbcfbdff1fe19f6b55c779e08248c24b9f6 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Sat, 26 Mar 2022 01:38:13 +0000 Subject: [PATCH] fix name --- src/Appwrite/Auth/OAuth2/Zoom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Auth/OAuth2/Zoom.php b/src/Appwrite/Auth/OAuth2/Zoom.php index 19bab05250..9aa77ceb91 100644 --- a/src/Appwrite/Auth/OAuth2/Zoom.php +++ b/src/Appwrite/Auth/OAuth2/Zoom.php @@ -134,7 +134,7 @@ class Zoom extends OAuth2 public function getUserName(string $accessToken):string { $response = $this->getUser($accessToken); - return $response['first_name'] ?? '' . ' ' . $response['last_name'] ?? ''; + return ($response['first_name'] ?? '') . ' ' . ($response['last_name'] ?? ''); } /**