From e5b560feaf964c0a44ef91adad8b95a9994b8812 Mon Sep 17 00:00:00 2001 From: Corey Baker Date: Fri, 21 Apr 2023 11:57:52 -0400 Subject: [PATCH] Pull revisions greater than equal --- Sources/ParseCareKit/ParseRemote.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ParseCareKit/ParseRemote.swift b/Sources/ParseCareKit/ParseRemote.swift index e9379046b..f413d6fea 100644 --- a/Sources/ParseCareKit/ParseRemote.swift +++ b/Sources/ParseCareKit/ParseRemote.swift @@ -272,7 +272,7 @@ public class ParseRemote: OCKRemoteSynchronizable { let localClock = knowledgeVector.clock(for: self.uuid) // 2. Pull revisions - let query = PCKRevisionRecord.query(ObjectableKey.logicalClock > localClock, + let query = PCKRevisionRecord.query(ObjectableKey.logicalClock >= localClock, ObjectableKey.clockUUID == self.uuid) .order([.ascending(ObjectableKey.logicalClock)]) do {