mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
Fixes error message when creator_id is not set (#16998)
This commit is contained in:
@@ -79,7 +79,7 @@ func localCreateOutgoingHook(c *Context, w http.ResponseWriter, r *http.Request)
|
||||
c.LogAudit("attempt")
|
||||
|
||||
if hook.CreatorId == "" {
|
||||
c.SetInvalidParam("user_id")
|
||||
c.SetInvalidParam("creator_id")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user