1
0

Implemented method to delete a namespace

This commit is contained in:
kolaente
2018-07-04 19:21:04 +02:00
parent 2d81330b27
commit 93efaa95f8
10 changed files with 178 additions and 15 deletions

View File

@ -55,9 +55,6 @@ func getNamespace(c echo.Context) (namespace models.Namespace, err error) {
// Get the namespace
namespace, err = models.GetNamespaceByID(namespaceID)
if err != nil {
if models.IsErrNamespaceDoesNotExist(err) {
return
}
return
}
@ -72,4 +69,4 @@ func getNamespace(c echo.Context) (namespace models.Namespace, err error) {
}
return
}
}