mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 09:16:45 +01:00
erasing unused attachments
This commit is contained in:
@@ -168,6 +168,10 @@ function eraseDeletedNotesNow() {
|
||||
noteService.eraseDeletedNotesNow();
|
||||
}
|
||||
|
||||
function eraseUnusedAttachmentsNow() {
|
||||
noteService.eraseUnusedAttachmentsNow();
|
||||
}
|
||||
|
||||
function getDeleteNotesPreview(req) {
|
||||
const {branchIdsToDelete, deleteAllClones} = req.body;
|
||||
|
||||
@@ -275,6 +279,7 @@ module.exports = {
|
||||
changeTitle,
|
||||
duplicateSubtree,
|
||||
eraseDeletedNotesNow,
|
||||
eraseUnusedAttachmentsNow,
|
||||
getDeleteNotesPreview,
|
||||
uploadModifiedFile,
|
||||
forceSaveNoteRevision
|
||||
|
||||
Reference in New Issue
Block a user