diff --git a/Sources/CheckoutNetwork/CheckoutNetworkClient.swift b/Sources/CheckoutNetwork/CheckoutNetworkClient.swift index 0989db8..5f443be 100644 --- a/Sources/CheckoutNetwork/CheckoutNetworkClient.swift +++ b/Sources/CheckoutNetwork/CheckoutNetworkClient.swift @@ -70,7 +70,7 @@ public class CheckoutNetworkClient: CheckoutClientInterface { completionHandler(error) return } - if let responseError = self.getErrorFromResponse(response, data: nil) { + if let responseError = self.getErrorFromResponse(response, data: data) { completionHandler(responseError) return }