From 148d877e2a3797462b89cb62e3c2e569064576b1 Mon Sep 17 00:00:00 2001 From: Sweetnow Date: Wed, 29 Apr 2020 17:30:43 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=E5=8A=A0=E5=85=A5?= =?UTF-8?q?=E6=88=BF=E9=97=B4api=E8=B0=83=E7=94=A8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- communication/Server/CommunicationImpl.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/communication/Server/CommunicationImpl.cs b/communication/Server/CommunicationImpl.cs index 29e59d7..deeaf00 100644 --- a/communication/Server/CommunicationImpl.cs +++ b/communication/Server/CommunicationImpl.cs @@ -88,7 +88,10 @@ private async Task NoticeServer(string token, DockerGameStatus status) } else { - await HttpAsync($"https://api.eesast.com/v1/rooms/{roomID}/join", token, "GET", null); + await HttpAsync($"https://api.eesast.com/v1/rooms/{roomID}/join", this.token, "POST", new JObject + { + ["token"] = token + }); } }