1
0
Fork 0
mirror of synced 2024-05-17 19:22:34 +12:00

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

Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
This commit is contained in:
Christy Jacob 2021-05-28 21:50:04 +05:30 committed by GitHub
parent 8ffd822965
commit d39758ba49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,7 +145,7 @@ class Twitch extends OAuth2
]
), true);
$this->user = $response['data']['0'];
$this->user = $response['data']['0'] ?? [];
}
return $this->user;