1
0

Getting all lists or one works now

This commit is contained in:
kolaente
2018-07-09 19:49:27 +02:00
parent d5eb2f08e3
commit 9e8f13edf6
6 changed files with 25 additions and 40 deletions

View File

@ -44,8 +44,6 @@ func (c *CRUDWebHandler) ReadAllWeb(ctx echo.Context) error {
return ctx.JSON(http.StatusInternalServerError, models.Message{"Could not determine the current user."})
}
//c.CObject.IsAdmin()
lists, err := c.CObject.ReadAll(&currentUser)
if err != nil {
fmt.Println(err)