Skip to content

Commit

Permalink
Merge pull request #33 from JWaldecker/patch-1
Browse files Browse the repository at this point in the history
Fixed get request with query parameters
  • Loading branch information
tyson239 committed Mar 21, 2021
2 parents 25fd904 + 1ec3b56 commit 1fb3294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function __construct(Pterodactyl $pterodactyl, Client $guzzle = null)
*/
public function get($uri, array $query = [])
{
return $this->request('GET', $uri, [], $query);
return $this->request('GET', $uri, $query);
}

/**
Expand Down

0 comments on commit 1fb3294

Please sign in to comment.