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
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -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 {