Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Aug 12, 2024
1 parent 9ec4c9b commit 85d541c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions objects/Streamer.php
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,10 @@ static function revalidateToken($streamers_id, $provider)
static function getAccessToken($streamers_id, $provider){
$json = self::revalidateToken($streamers_id, $provider);
//var_dump($json);exit;
if(empty($json['accessToken']["access_token"])){
_error_log(json_encode($json));
return false;
}
return $json['accessToken']["access_token"];
}
}
Expand Down

0 comments on commit 85d541c

Please sign in to comment.