From a87a41bf24ff3e618a48ec72fc7f6b2dd2f04ced Mon Sep 17 00:00:00 2001 From: "oribe(oribe1115)" Date: Fri, 16 Jul 2021 18:48:04 +0900 Subject: [PATCH] =?UTF-8?q?fix(backend):=20=E6=AD=A3=E8=A6=8F=E8=A1=A8?= =?UTF-8?q?=E7=8F=BE=E3=81=AB=E4=BD=BF=E3=81=86=E3=83=A1=E3=82=BD=E3=83=83?= =?UTF-8?q?=E3=83=89=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webapp/go/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/go/main.go b/webapp/go/main.go index 161822d83..acd0961d6 100644 --- a/webapp/go/main.go +++ b/webapp/go/main.go @@ -1355,7 +1355,7 @@ func postIsuCondition(c echo.Context) error { // parse timestamp := time.Unix(cond.Timestamp, 0) - if !conditionFormat.Match([]byte(cond.Condition)) { + if !conditionFormat.MatchString(cond.Condition) { c.Logger().Errorf("bad request body") return c.String(http.StatusBadRequest, "bad request body") }