Fixes error message when creator_id is not set (#16998)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
1d912ee971
Коммит
d7571b401b
@@ -79,7 +79,7 @@ func localCreateOutgoingHook(c *Context, w http.ResponseWriter, r *http.Request)
|
|||||||
c.LogAudit("attempt")
|
c.LogAudit("attempt")
|
||||||
|
|
||||||
if hook.CreatorId == "" {
|
if hook.CreatorId == "" {
|
||||||
c.SetInvalidParam("user_id")
|
c.SetInvalidParam("creator_id")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user