Update patch-db.ts

This commit is contained in:
Drew Ansbacher
2021-12-20 13:25:16 -07:00
committed by Aiden McClelland
parent 8422315b33
commit 4fb0d3570b

View File

@@ -14,7 +14,6 @@ export class PatchDB<T> {
private sourcesSub = this.sources$.subscribe(sources => {
this.updatesSub = merge(...sources.map(s => s.watch$(this.store))).subscribe({
next: (res) => {
console.log('PatchDB -> subscribedChanges -> JCWM:', { res })
if ('result' in res) {
this.store.update(res.result)
this.cache$.next(this.store.cache)