Skip to content

Commit

Permalink
Pull revisions greater than equal
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaker6 committed Apr 21, 2023
1 parent 4eba1e3 commit e5b560f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ParseCareKit/ParseRemote.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e5b560f

Please sign in to comment.