Skip to content

Commit

Permalink
fix: lost of CRO context in resolveConflicts (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwkang1998 authored Nov 7, 2024
1 parent cda5dd5 commit dd7ce6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/object/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class TopologyObject implements ITopologyObject {
this.cro = new Proxy(cro, this.proxyCROHandler());
this.hashGraph = new HashGraph(
nodeId,
cro.resolveConflicts,
cro.resolveConflicts.bind(cro),
cro.semanticsType,
);
this.subscriptions = [];
Expand Down

0 comments on commit dd7ce6a

Please sign in to comment.