[MM-20706] Drop 26 character requirement from post action IDs (#13225)

Этот коммит содержится в:
Ben Schumacher
2020-01-14 07:18:14 +01:00
коммит произвёл GitHub
родитель 1f3f8fbf57
Коммит 2d9e85e82a
3 изменённых файлов: 86 добавлений и 50 удалений

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

@@ -496,17 +496,6 @@ func (c *Context) RequireJobType() *Context {
return c
}
func (c *Context) RequireActionId() *Context {
if c.Err != nil {
return c
}
if len(c.Params.ActionId) != 26 {
c.SetInvalidUrlParam("action_id")
}
return c
}
func (c *Context) RequireRoleId() *Context {
if c.Err != nil {
return c