feat: forgot this

This commit is contained in:
TheClashFruit 2023-09-15 17:11:39 +02:00
parent 302677e41f
commit c9eae5ea8c
Signed by: TheClashFruit
GPG key ID: CF4A319B9A73290C

View file

@ -26,7 +26,7 @@
$json = json_decode($res->body, true);
if($json['error']) {
if(isset($json['error'])) {
return array(
'error' => true,
'error_description' => $json['error_description']
@ -51,7 +51,7 @@
$json = json_decode($res->body, true);
if($json['error']) {
if(isset($json['error'])) {
return array(
'error' => true,
'error_description' => $json['error_description']