diff options
Diffstat (limited to 'api/webhook.go')
-rw-r--r-- | api/webhook.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/api/webhook.go b/api/webhook.go index dce5ddc1e..e3e12816a 100644 --- a/api/webhook.go +++ b/api/webhook.go @@ -6,14 +6,10 @@ package api import ( "net/http" - l4g "github.com/alecthomas/log4go" "github.com/mattermost/mattermost-server/model" - "github.com/mattermost/mattermost-server/utils" ) func (api *API) InitWebhook() { - l4g.Debug(utils.T("api.webhook.init.debug")) - api.BaseRoutes.Hooks.Handle("/incoming/create", api.ApiUserRequired(createIncomingHook)).Methods("POST") api.BaseRoutes.Hooks.Handle("/incoming/update", api.ApiUserRequired(updateIncomingHook)).Methods("POST") api.BaseRoutes.Hooks.Handle("/incoming/delete", api.ApiUserRequired(deleteIncomingHook)).Methods("POST") |