Skip to content

Commit

Permalink
last synced at can be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensJourney committed Nov 20, 2023
1 parent 4bde398 commit 339c4e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export abstract class AbstractStreamingSyncImplementation extends BaseObserver<S
}

get lastSyncedAt() {
return new Date(this._lastSyncedAt);
return this._lastSyncedAt && new Date(this._lastSyncedAt);
}

protected get logger() {
Expand Down

0 comments on commit 339c4e2

Please sign in to comment.