Skip to content

Commit 74eafaa

Browse files
committed
Fix typo in code example
1 parent 7d0b625 commit 74eafaa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/node/legacy/Examples/client-reset.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ describe.skip("Client Reset with Seamless Loss", () => {
267267
// :remove-end:
268268
},
269269
},
270-
error: handleSyncError, // invoked with destructive schema changes
270+
onError: handleSyncError, // invoked with destructive schema changes
271271
},
272272
};
273273
// :snippet-end:

source/examples/generated/node/client-reset.snippet.discard-unsynced-changes-after-destructive-schema-changes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ const config = {
4040
console.log("New realm path", afterRealm.path);
4141
},
4242
},
43-
error: handleSyncError, // invoked with destructive schema changes
43+
onError: handleSyncError, // invoked with destructive schema changes
4444
},
4545
};

0 commit comments

Comments
 (0)