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