1
0

Added functions for adding items to a todolist

This commit is contained in:
konrad
2018-06-10 19:49:40 +02:00
committed by kolaente
parent 7bac9f490e
commit 91f67dc364
9 changed files with 190 additions and 2 deletions

View File

@ -16,6 +16,11 @@ func GetListsByUser(c echo.Context) error {
allLists, err := models.GetListsByUser(&currentUser)
if err != nil {
if models.IsErrListDoesNotExist(err) {
}
return c.JSON(http.StatusInternalServerError, models.Message{"Could not get lists."})
}