From 8c505e7b5cb8138e53b71ed7e0465665654a596b Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Fri, 5 Feb 2016 08:21:15 -0500 Subject: Accept unsigned TLS certs for SSO and outgoing hooks, also fix delete hooks bug --- api/webhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/webhook.go') diff --git a/api/webhook.go b/api/webhook.go index 3906d09be..c0f8ea506 100644 --- a/api/webhook.go +++ b/api/webhook.go @@ -238,7 +238,7 @@ func getOutgoingHooks(c *Context, w http.ResponseWriter, r *http.Request) { } func deleteOutgoingHook(c *Context, w http.ResponseWriter, r *http.Request) { - if !utils.Cfg.ServiceSettings.EnableIncomingWebhooks { + if !utils.Cfg.ServiceSettings.EnableOutgoingWebhooks { c.Err = model.NewLocAppError("deleteOutgoingHook", "api.webhook.delete_outgoing.disabled.app_error", nil, "") c.Err.StatusCode = http.StatusNotImplemented return -- cgit v1.2.3-1-g7c22