Skip to content
This repository has been archived by the owner on Apr 2, 2022. It is now read-only.

Commit

Permalink
🐛 修复加入房间api调用bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Sweetnow committed Apr 29, 2020
1 parent d97df10 commit 148d877
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion communication/Server/CommunicationImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
}
}

Expand Down

0 comments on commit 148d877

Please sign in to comment.