From 8c0977ef74c9d6ea82a78ab130ced93d2eb85a92 Mon Sep 17 00:00:00 2001 From: Hueter Date: Fri, 28 Jun 2024 07:50:12 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BE=9D=E9=A0=BC=E2=86=92=E7=94=B3=E8=AB=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/webhook.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/service/webhook.go b/service/webhook.go index 71495bb4..2cce3d9b 100644 --- a/service/webhook.go +++ b/service/webhook.go @@ -86,7 +86,7 @@ func WebhookEventHandler(c echo.Context, reqBody, resBody []byte) { } splitedPath := strings.Split(c.Request().URL.Path, "/") - message += fmt.Sprintf("## :comment:[依頼](%s/requests/%s)", "https://jomon.trap.jp", splitedPath[3]) + message += fmt.Sprintf("## :comment:[申請](%s/requests/%s)", "https://jomon.trap.jp", splitedPath[3]) message += "に対する" message += fmt.Sprintf("[コメント](%s/requests/%s/comments/%s)", "https://jomon.trap.jp", splitedPath[3], resApp.ID) message += "が作成されました" + "\n" @@ -99,9 +99,9 @@ func WebhookEventHandler(c echo.Context, reqBody, resBody []byte) { return } if c.Request().Method == http.MethodPost { - message += "## :receipt:依頼が作成されました" + "\n" + message += "## :receipt:申請が作成されました" + "\n" } else if c.Request().Method == http.MethodPut { - message += "## :receipt:依頼が更新されました" + "\n" + message += "## :receipt:申請が更新されました" + "\n" } message += fmt.Sprintf("### [%s](%s/applications/%s)", resApp.Title, "https://jomon.trap.jp", resApp.ID) + "\n"