Skip to content

Commit fa85b46

Browse files
committed
fix LiveQuery
1 parent 30f8059 commit fa85b46

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ParseCareKit.xcodeproj/project.pbxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@
12241224
repositoryURL = "https://github.com/cbaker6/CareKit.git";
12251225
requirement = {
12261226
kind = upToNextMajorVersion;
1227-
minimumVersion = "3.0.0-alpha.21";
1227+
minimumVersion = "3.0.0-alpha.22";
12281228
};
12291229
};
12301230
/* End XCRemoteSwiftPackageReference section */

Sources/ParseCareKit/ParseRemote.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public class ParseRemote: OCKRemoteSynchronizable {
197197
self.revisionRecordSubscription = try await self.revisionRecordQuery.subscribeCallback()
198198
self.revisionRecordSubscription?.handleEvent { (_, event) in
199199
switch event {
200-
case .created(let updatedRevision):
200+
case .created(let updatedRevision), .updated(let updatedRevision), .entered(let updatedRevision):
201201
guard let logicalClock = updatedRevision.logicalClock else {
202202
Logger
203203
.revisionRecordSubscription

0 commit comments

Comments
 (0)