Skip to content

Commit

Permalink
Efa: fix compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-albers committed Feb 4, 2024
1 parent a10387e commit 34d4b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TripKit/Provider/AbstractEfaProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 34d4b26

Please sign in to comment.