Skip to content

Commit

Permalink
Merge pull request #9 from Lan2Play/master
Browse files Browse the repository at this point in the history
changed getparticipant to get
  • Loading branch information
xKairu authored May 19, 2021
2 parents e9e50ca + ac781e2 commit 340d5b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Challonge/Challonge.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function randomizeParticipants(string $tournament): Collection
*/
public function getParticipant(string $tournament, int $participant): Participant
{
$response = $this->client->request('post', "tournaments/{$tournament}/participants/{$participant}");
$response = $this->client->request('get', "tournaments/{$tournament}/participants/{$participant}");
return Participant::fromResponse($this->client, $response['participant']);
}

Expand Down

0 comments on commit 340d5b7

Please sign in to comment.