Fixed getting all lists of a namespace not working
This commit is contained in:
parent
37de3ef232
commit
c1767d219a
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue