diff --git a/server/api/controller/collection.js b/server/api/controller/collection.js index a7cf2c8c..542ca18f 100644 --- a/server/api/controller/collection.js +++ b/server/api/controller/collection.js @@ -250,7 +250,7 @@ const collectionController = { res.sendStatus(200) } catch (e) { log.error('Remove collection failed:' + String(e)) - res.sendStatus(404) + res.sendStatus(400) } },