Fixes error message when creator_id is not set (#16998)

Этот коммит содержится в:
Miguel de la Cruz
2021-02-24 18:47:12 +01:00
коммит произвёл GitHub
родитель 1d912ee971
Коммит d7571b401b

Просмотреть файл

@@ -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
}