Skip to content

Commit 340d5b7

Browse files
authored
Merge pull request #9 from Lan2Play/master
changed getparticipant to get
2 parents e9e50ca + ac781e2 commit 340d5b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Challonge/Challonge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public function randomizeParticipants(string $tournament): Collection
165165
*/
166166
public function getParticipant(string $tournament, int $participant): Participant
167167
{
168-
$response = $this->client->request('post', "tournaments/{$tournament}/participants/{$participant}");
168+
$response = $this->client->request('get', "tournaments/{$tournament}/participants/{$participant}");
169169
return Participant::fromResponse($this->client, $response['participant']);
170170
}
171171

0 commit comments

Comments
 (0)