Removed debugging
This commit is contained in:
parent
f59917e721
commit
2d81330b27
2 changed files with 1 additions and 2 deletions
|
|
@ -4,7 +4,6 @@ import (
|
|||
"git.kolaente.de/konrad/list/models"
|
||||
"github.com/labstack/echo"
|
||||
"net/http"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
func GetListsByNamespaceID(c echo.Context) error {
|
||||
|
|
@ -47,7 +46,6 @@ func GetListsByNamespaceID(c echo.Context) error {
|
|||
if models.IsErrNamespaceDoesNotExist(err) {
|
||||
return c.JSON(http.StatusNotFound, models.Message{"Namespace not found."})
|
||||
}
|
||||
fmt.Println(err)
|
||||
return c.JSON(http.StatusInternalServerError, models.Message{"An error occured."})
|
||||
}
|
||||
return c.JSON(http.StatusOK, lists)
|
||||
|
|
|
|||
Reference in a new issue