mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 01:05:49 +01:00
fixed sync
This commit is contained in:
@@ -32,7 +32,7 @@ setInterval(async () => {
|
||||
|
||||
const changesToPushCount = await sql.getSingleValue("SELECT COUNT(*) FROM sync WHERE id > ?", [lastSyncedPush]);
|
||||
|
||||
messaging.send({
|
||||
messaging.sendMessage({
|
||||
type: 'sync',
|
||||
data: data,
|
||||
changesToPushCount: sync.isSyncSetup ? changesToPushCount : 0
|
||||
|
||||
Reference in New Issue
Block a user