mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 06:45:49 +01:00
attachment ETAPI support WIP
This commit is contained in:
@@ -64,7 +64,7 @@ function register(router) {
|
||||
eu.route(router, 'delete' ,'/etapi/branches/:branchId', (req, res, next) => {
|
||||
const branch = becca.getBranch(req.params.branchId);
|
||||
|
||||
if (!branch || branch.isDeleted) {
|
||||
if (!branch) {
|
||||
return res.sendStatus(204);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user