From ac781e229d9d36c273580bdd50d02eac8a04474c Mon Sep 17 00:00:00 2001 From: Alexander Volz Date: Tue, 18 May 2021 21:04:14 +0200 Subject: [PATCH] changed getparticipant to get --- src/Challonge/Challonge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Challonge/Challonge.php b/src/Challonge/Challonge.php index 2cea2d8..854c4fb 100644 --- a/src/Challonge/Challonge.php +++ b/src/Challonge/Challonge.php @@ -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']); }