Skip to content

Commit ac781e2

Browse files
committed
changed getparticipant to get
1 parent e9e50ca commit ac781e2

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)