mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	progress of tar import through WS
This commit is contained in:
		| @@ -397,7 +397,7 @@ async function deleteNote(branch) { | ||||
| } | ||||
|  | ||||
| async function cleanupDeletedNotes() { | ||||
|     const cutoffDate = new Date(new Date().getTime() - 48 * 3600 * 1000); | ||||
|     const cutoffDate = new Date(Date.now() - 48 * 3600 * 1000); | ||||
|  | ||||
|     // it's better to not use repository for this because it will complain about saving protected notes | ||||
|     // out of protected session | ||||
|   | ||||
		Reference in New Issue
	
	Block a user