diff --git a/shared.go b/shared.go index efb3b43..ae5d5c2 100755 --- a/shared.go +++ b/shared.go @@ -12313,7 +12313,7 @@ func HandleNewHook(resp http.ResponseWriter, request *http.Request) { if (!(user.SupportAccess || user.Id == originalHook.Owner) || len(user.Id) == 0) && originalHook.Id != "" { if originalHook.OrgId != user.ActiveOrg.Id && originalHook.OrgId != "" { - log.Printf("[WARNING] User %s (from org %s) doesn't have access to hook %s (org %s)", user.Username, user.ActiveOrg.Id, originalHook.Id, originalHook.OrgId) + log.Printf("[WARNING] User %s doesn't have access to hook %s", user.Username, originalHook.Id) resp.WriteHeader(401) resp.Write([]byte(`{"success": false, "reason": "User doesn't have access to hook"}`)) return