diff --git a/src/services/syncService.js b/src/services/syncService.js index bec39022..188cae27 100644 --- a/src/services/syncService.js +++ b/src/services/syncService.js @@ -65,7 +65,7 @@ function initSyncService() { self.apiService.getAccountRevisionDate(function (response) { var accountRevisionDate = new Date(response); - if (accountRevisionDate <= lastSync) { + if (lastSync && accountRevisionDate <= lastSync) { callback(false); return; }