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
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
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)