Removed debugging

This commit is contained in:
kolaente 2018-07-04 18:44:13 +02:00
parent f59917e721
commit 2d81330b27
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 1 additions and 2 deletions

View File

@ -120,6 +120,7 @@ Teams sind global, d.h. Ein Team kann mehrere Namespaces verwalten.
* [x] Bearbeiten
* [ ] Löschen
* [ ] Teams hinzufügen. Der Nutzer kriegt nur Teams angezeigt die er erstellt hat.
* [x] Alle Listen eines Namespaces anzeigen
* [ ] Listen
* [ ] Listen zu einem Namespace hinzufügen

View File

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