Merge pull request 'fix: persist docs created via setDoc (payment not found)' (#5) from dev into main
CI/CD / deploy (push) Successful in 2m26s
Details
CI/CD / deploy (push) Successful in 2m26s
Details
This commit is contained in:
commit
4690921d9c
|
|
@ -247,6 +247,9 @@ export class SyncServer {
|
|||
setDoc(docId: string, doc: Automerge.Doc<any>): void {
|
||||
this.#docs.set(docId, doc);
|
||||
this.#syncDocToAllPeers(docId);
|
||||
if (this.#onDocChange) {
|
||||
this.#onDocChange(docId, doc);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue