mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 10:40:41 +01:00
Add versioningLimit label support
This commit is contained in:
@@ -116,7 +116,7 @@ function eraseRevision(req: Request) {
|
||||
function eraseAllExcessRevisions() {
|
||||
let allNoteIds = sql.getRows('SELECT noteId FROM notes') as { noteId: string }[];
|
||||
allNoteIds.forEach(row => {
|
||||
becca.getNote(row.noteId)?.eraseExcessRevisions()
|
||||
becca.getNote(row.noteId)?.eraseExcessRevisionSnapshots()
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user