Getting all lists or one works now
This commit is contained in:
parent
d5eb2f08e3
commit
9e8f13edf6
6 changed files with 25 additions and 40 deletions
|
|
@ -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(¤tUser)
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
|
|
|
|||
Reference in a new issue