Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Update steamAPI.php
Browse files Browse the repository at this point in the history
  • Loading branch information
alix1383 committed May 10, 2023
1 parent 18bb2de commit 0576efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/Class/steamAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function getTokenList()
$data = json_decode($response->getBody()->getContents(), true);

if (isset($data['response']['servers'])) {
return json_decode($response->getBody()->getContents(), true)['response']['servers'];
return $data['response']['servers'];
} else {
return null;
}
Expand Down

0 comments on commit 0576efe

Please sign in to comment.