Skip to content

Commit

Permalink
Update login.inc.php
Browse files Browse the repository at this point in the history
  • Loading branch information
T1Il committed Aug 24, 2023
1 parent be176a7 commit 8c70af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/login.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function fetchUser()
$client = new GuzzleHttp\Client();
try {
$res = $client->request('GET', 'https://discord.com/api/v8/users/' . $this->discordId, [
'headers' => ['Authorization' => 'Bot ' . $this->botToken]
'headers' => ['Authorization' => 'Bot ' . $this->botToken],
]);
} catch (GuzzleException) {
return null;
Expand Down

0 comments on commit 8c70af9

Please sign in to comment.