Skip to content

Commit

Permalink
chore: code tidying
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismclarke committed Oct 4, 2024
1 parent 5626812 commit ff729d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/shared/src/services/core/db_v2/db-sync.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export class PicsaDatabaseSyncService {
this.db = db;
const { sync_delete } = await this.db.addCollections({ sync_delete: SYNC_DELETE_COLLECTION });
this.syncDeleteCollection = sync_delete;
// once db is registered subscribe to network changes to manage syncing
this.subscribeToNetworkChanges();
}

Expand Down

0 comments on commit ff729d8

Please sign in to comment.