From 6ffefa3616966228df8875ae2771f2862c8b7672 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Sun, 17 Apr 2022 20:44:39 +0200 Subject: [PATCH] fixed query param translate --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 78361a4..5ffbb1d 100644 --- a/main.go +++ b/main.go @@ -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)