cleanup
This commit is contained in:
@ -1,11 +1,12 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"github.com/labstack/echo"
|
||||
"git.kolaente.de/konrad/list/models"
|
||||
"github.com/labstack/echo"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// GetListsByUser gets all lists a user owns
|
||||
func GetListsByUser(c echo.Context) error {
|
||||
|
||||
currentUser, err := models.GetCurrentUser(c)
|
||||
@ -19,4 +20,4 @@ func GetListsByUser(c echo.Context) error {
|
||||
}
|
||||
|
||||
return c.JSON(http.StatusOK, allLists)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user