fixed query param translate

This commit is contained in:
2022-04-17 20:44:39 +02:00
parent 9ae02cf593
commit 6ffefa3616

View File

@@ -611,7 +611,7 @@ func getMatchRounds(c *gin.Context) {
func getMatchChat(c *gin.Context) {
id := c.Param("id")
trans := c.PostForm("translate")
trans := c.Query("translate")
if id == "" {
c.Status(http.StatusBadRequest)