Skip to content

Commit

Permalink
sync all protocols temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
LiranCohen committed Aug 13, 2024
1 parent 7e54dab commit 540a4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/web5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ export class Web5 {
// Enable sync, unless explicitly disabled.
if (sync !== 'off') {
// First, register the user identity for sync.
await userAgent.sync.registerIdentity({ did: connectedDid });
await userAgent.sync.registerIdentity({ did: connectedDid, options: { protocols: [] } });

// Enable sync using the specified interval or default.
sync ??= '2m';
Expand Down

0 comments on commit 540a4ca

Please sign in to comment.