diff --git a/Sources/TripKit/Provider/AbstractEfaProvider.swift b/Sources/TripKit/Provider/AbstractEfaProvider.swift index 0d2de29..8568386 100644 --- a/Sources/TripKit/Provider/AbstractEfaProvider.swift +++ b/Sources/TripKit/Provider/AbstractEfaProvider.swift @@ -316,7 +316,7 @@ public class AbstractEfaProvider: AbstractNetworkProvider { func checkSessionExpired(httpRequest: HttpRequest, err: Error, completion: (HttpRequest, QueryTripsResult) -> Void) { if let err = err as? HttpError { switch err { - case .invalidStatusCode(let code, let _): + case .invalidStatusCode(let code, _): if code == 404 { completion(httpRequest, .sessionExpired) return