From c1767d219afb0f5f0611623891644c90acbe7745 Mon Sep 17 00:00:00 2001 From: konrad Date: Thu, 6 Sep 2018 18:55:58 +0200 Subject: [PATCH] Fixed getting all lists of a namespace not working --- routes/api/v1/list_by_namespace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api/v1/list_by_namespace.go b/routes/api/v1/list_by_namespace.go index c028ca4fb3..8a32f8369a 100644 --- a/routes/api/v1/list_by_namespace.go +++ b/routes/api/v1/list_by_namespace.go @@ -55,7 +55,7 @@ func GetListsByNamespaceID(c echo.Context) error { func getNamespace(c echo.Context) (namespace models.Namespace, err error) { // Check if we have our ID - id := c.Param("id") + id := c.Param("namespace") // Make int namespaceID, err := strconv.ParseInt(id, 10, 64) if err != nil {