From 2a38d81b0f0ff06e16485b3fd93001644688b641 Mon Sep 17 00:00:00 2001 From: Rowan Seymour Date: Thu, 26 Aug 2021 12:16:43 -0500 Subject: [PATCH] Support old ticket/note endpoint path for now too --- web/ticket/add_note.go | 1 + 1 file changed, 1 insertion(+) diff --git a/web/ticket/add_note.go b/web/ticket/add_note.go index aaf4b053f..99cd12bc6 100644 --- a/web/ticket/add_note.go +++ b/web/ticket/add_note.go @@ -12,6 +12,7 @@ import ( ) func init() { + web.RegisterJSONRoute(http.MethodPost, "/mr/ticket/note", web.RequireAuthToken(handleAddNote)) // deprecated web.RegisterJSONRoute(http.MethodPost, "/mr/ticket/add_note", web.RequireAuthToken(handleAddNote)) }