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

This commit is contained in:
Miguel de la Cruz
2021-02-24 20:47:12 +03:00
committed by GitHub
parent 1d912ee971
commit d7571b401b
+1 -1
View File
@@ -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
}