From eda904d83aa81c093aa328574d3aacc927ab614a Mon Sep 17 00:00:00 2001 From: lesion Date: Tue, 28 Jan 2025 11:03:54 +0100 Subject: [PATCH] minor --- server/api/controller/collection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } },