If we can't find a feed, it must be deleted by another device, so consider it a success. Fixes #3042
This commit is contained in:
parent
1e5091013d
commit
802dd503d6
|
@ -180,10 +180,14 @@ final class CloudKitAccountZone: CloudKitZone {
|
|||
}
|
||||
|
||||
case .failure(let error):
|
||||
if let ckError = ((error as? CloudKitError)?.error as? CKError), ckError.code == .unknownItem {
|
||||
completion(.success(true))
|
||||
} else {
|
||||
completion(.failure(error))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func moveWebFeed(_ webFeed: WebFeed, from: Container, to: Container, completion: @escaping (Result<Void, Error>) -> Void) {
|
||||
guard let fromContainerExternalID = from.externalID, let toContainerExternalID = to.externalID else {
|
||||
|
|
Loading…
Reference in New Issue