Fixed getting all lists of a namespace not working

This commit is contained in:
konrad 2018-09-06 18:55:58 +02:00 committed by kolaente
parent 37de3ef232
commit c1767d219a
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -55,7 +55,7 @@ func GetListsByNamespaceID(c echo.Context) error {
func getNamespace(c echo.Context) (namespace models.Namespace, err error) { func getNamespace(c echo.Context) (namespace models.Namespace, err error) {
// Check if we have our ID // Check if we have our ID
id := c.Param("id") id := c.Param("namespace")
// Make int // Make int
namespaceID, err := strconv.ParseInt(id, 10, 64) namespaceID, err := strconv.ParseInt(id, 10, 64)
if err != nil { if err != nil {