Implemented method to delete a namespace
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user