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

This commit is contained in:
jeffemmett 2026-04-03 04:54:24 +02:00
commit 4690921d9c
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}
}
/**