Skip to content

Commit

Permalink
Merge pull request #882 from traPtitech/fix-webhook
Browse files Browse the repository at this point in the history
fix v3 PostWebhook
  • Loading branch information
wtks authored May 3, 2020
2 parents 4df9b5d + 346046c commit 3e3c8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router/v3/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ func (h *Handlers) Setup(e *echo.Group) {
apiNoAuth.GET("/version", h.GetVersion)
apiNoAuth.POST("/login", h.Login, nologin)
apiNoAuth.POST("/logout", h.Logout)
apiNoAuth.POST("/webhooks/:webhookID", h.PostWebhook)
apiNoAuth.POST("/webhooks/:webhookID", h.PostWebhook, retrieve.WebhookID())
apiNoAuthPublic := apiNoAuth.Group("/public")
{
apiNoAuthPublic.GET("/icon/:username", h.GetPublicUserIcon)
Expand Down

0 comments on commit 3e3c8c1

Please sign in to comment.