1
0

CRUD helper now returns directly the target struct filled with data instead of a sub objectq

This commit is contained in:
kolaente
2018-07-08 13:26:43 +02:00
parent 490f32d46b
commit 0c5ed914e0
2 changed files with 2 additions and 4 deletions

View File

@ -84,7 +84,6 @@ func RegisterRoutes(e *echo.Echo) {
a.POST("/tokenTest", apiv1.CheckToken)
a.GET("/lists", apiv1.GetListsByUser)
//a.GET("/lists/:id", apiv1.GetListByID)
listHandler := &apiv1.CRUDWebHandler{
CObject: &apiv1.DefaultCRUD{
Target: &models.List{},