Skip to content

Commit

Permalink
Support old ticket/note endpoint path for now too
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed Aug 26, 2021
1 parent f888455 commit 2a38d81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/ticket/add_note.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

Expand Down

0 comments on commit 2a38d81

Please sign in to comment.