Update src/Appwrite/Auth/OAuth2/Auth0.php

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Aditya Oberai 2022-04-03 21:57:15 +05:30 committed by GitHub
parent e7fd6a81ac
commit 0c09d73a20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -200,7 +200,7 @@ class Auth0 extends OAuth2
try {
$secret = \json_decode($this->appSecret, true);
} catch (\Throwable $th) {
throw new Exception('Invalid secret');
throw new \Exception('Invalid secret');
}
return $secret;
}