Renamed list items to tasks
This commit is contained in:
parent
d5758e0444
commit
d31f16aff1
18 changed files with 249 additions and 249 deletions
|
|
@ -38,8 +38,8 @@ func (c *WebHandler) CreateWeb(ctx echo.Context) error {
|
|||
if models.IsErrListTitleCannotBeEmpty(err) {
|
||||
return echo.NewHTTPError(http.StatusBadRequest, "You must provide at least a list title.")
|
||||
}
|
||||
if models.IsErrListItemCannotBeEmpty(err) {
|
||||
return echo.NewHTTPError(http.StatusBadRequest, "You must provide at least a list item text.")
|
||||
if models.IsErrListTaskCannotBeEmpty(err) {
|
||||
return echo.NewHTTPError(http.StatusBadRequest, "You must provide at least a list task text.")
|
||||
}
|
||||
if models.IsErrUserDoesNotExist(err) {
|
||||
return echo.NewHTTPError(http.StatusBadRequest, "The user does not exist.")
|
||||
|
|
|
|||
Reference in a new issue