create-categories #79
@ -25,7 +25,6 @@ func (h *Handler) newCategory(c echo.Context) error {
|
||||
}
|
||||
|
||||
if newCategory.Group == "" {
|
||||
// TODO Handle new Group here?
|
||||
return echo.NewHTTPError(http.StatusBadRequest, "category group is required")
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user