mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	sync only changes with isSynced = true
This commit is contained in:
		@@ -49,7 +49,7 @@ async function loginSync(req) {
 | 
			
		||||
 | 
			
		||||
    return {
 | 
			
		||||
        sourceId: sourceIdService.getCurrentSourceId(),
 | 
			
		||||
        maxSyncId: await sql.getValue("SELECT MAX(id) FROM sync")
 | 
			
		||||
        maxSyncId: await sql.getValue("SELECT MAX(id) FROM sync WHERE isSynced = 1")
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user