From 74c01eb5dbab375abfcf27b7ef9716d6d01c88b5 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Tue, 6 Sep 2022 13:52:31 -0600 Subject: [PATCH] fix updating revision number on dumps --- client/lib/patch-db.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/lib/patch-db.ts b/client/lib/patch-db.ts index 29be199..bd05301 100644 --- a/client/lib/patch-db.ts +++ b/client/lib/patch-db.ts @@ -148,7 +148,7 @@ export class PatchDB { } else { this.handleDump(update, cache) } - cache.sequence++ + cache.sequence = update.id }) this.cache$.next(cache) }