Skip to content

Commit 4592da2

Browse files
committed
correction in Exception message
1 parent 5658154 commit 4592da2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oauth/ZohoOAuthClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public function getUserEmailIdFromIAM($accessToken)
159159
$apiResponse = $connector->get();
160160
$jsonResponse = self::processResponse($apiResponse);
161161
if(!array_key_exists("Email", $jsonResponse)){
162-
throw new ZohoOAuthException("Exception while fetching UserID from grant token, Make sure AAAserver.profile.Read scope is included while generating the Grant token " . $jsonResponse);
162+
throw new ZohoOAuthException("Exception while fetching UserID from access token, Make sure AAAserver.profile.Read scope is included while generating the Grant token " . $jsonResponse);
163163
}
164164
return $jsonResponse['Email'];
165165
}

0 commit comments

Comments
 (0)