diff --git a/Sources/ParseLiveQuery.xcodeproj/project.pbxproj b/Sources/ParseLiveQuery.xcodeproj/project.pbxproj index d9484b03..e4d798c3 100644 --- a/Sources/ParseLiveQuery.xcodeproj/project.pbxproj +++ b/Sources/ParseLiveQuery.xcodeproj/project.pbxproj @@ -134,13 +134,13 @@ isa = PBXGroup; children = ( F5DC9D381BD9BAFC00E8FF07 /* Internal */, - 81464FC51CA31DA0000235E7 /* Resources */, F5591BA31BD720E10072F966 /* Client.swift */, F534A5B11BDAFE0200CBD11A /* Subscription.swift */, F54D58B51C8E33D9009F8D6C /* ObjCCompat.swift */, F59CA92E1C8E496200329737 /* Errors.swift */, 0632EDD31CA1A6DB00DD3CB8 /* Parse+LiveQuery.swift */, F5A88F491C9B6EBA002F0E0D /* PFQuery+Subscribe.swift */, + 81464FC51CA31DA0000235E7 /* Resources */, ); path = ParseLiveQuery; sourceTree = ""; diff --git a/Sources/ParseLiveQuery/Internal/BoltsHelpers.swift b/Sources/ParseLiveQuery/Internal/BoltsHelpers.swift index 7fd31155..68b24a15 100644 --- a/Sources/ParseLiveQuery/Internal/BoltsHelpers.swift +++ b/Sources/ParseLiveQuery/Internal/BoltsHelpers.swift @@ -33,9 +33,9 @@ func swiftTask(task: BFTask) -> Task { if task.cancelled { taskCompletionSource.tryCancel() } else if let error = task.error where task.faulted { - taskCompletionSource.trySetError(error) + taskCompletionSource.trySet(error: error) } else if let result = task.result { - taskCompletionSource.trySetResult(result) + taskCompletionSource.trySet(result: result) } else { fatalError("Unknown task state") }