diff --git a/app/sync.js b/app/sync.js index 026fd61137d..8c86628b3ee 100644 --- a/app/sync.js +++ b/app/sync.js @@ -42,6 +42,8 @@ let pollIntervalId = null let deviceIdSent = false let bookmarksToolbarShown = false +const folderToObjectId = {} + /** * Sends sync records of the same category to the sync server. * @param {event.sender} sender @@ -185,7 +187,6 @@ module.exports.onSyncReady = (isFirstRun, e) => { * call; there's not enough time to dispatch id updates to appStore.sites. * @param {Immutable.Map} site */ - const folderToObjectId = {} const syncBookmark = (site) => { if (!site || site.get('objectId') || folderToObjectId[site.get('folderId')] || !syncUtil.isSyncable('bookmark', site)) { return