mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-30 12:01:57 +00:00
fix updating revision number on dumps
This commit is contained in:
committed by
Aiden McClelland
parent
13c2e6570d
commit
74c01eb5db
@@ -148,7 +148,7 @@ export class PatchDB<T extends { [key: string]: any }> {
|
|||||||
} else {
|
} else {
|
||||||
this.handleDump(update, cache)
|
this.handleDump(update, cache)
|
||||||
}
|
}
|
||||||
cache.sequence++
|
cache.sequence = update.id
|
||||||
})
|
})
|
||||||
this.cache$.next(cache)
|
this.cache$.next(cache)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user