diff --git a/ios/Classes/utils/ConfigurationMapper.swift b/ios/Classes/utils/ConfigurationMapper.swift index acfa87df..dee6a9cf 100644 --- a/ios/Classes/utils/ConfigurationMapper.swift +++ b/ios/Classes/utils/ConfigurationMapper.swift @@ -84,7 +84,7 @@ class ConfigurationMapper { private func buildApplePayConfiguration(applePayConfigurationDTO: ApplePayConfigurationDTO, amount: AmountDTO, countryCode: String ) throws -> Adyen.ApplePayComponent.Configuration { let value = Int(amount.value) - guard let currencyCode : String = amount.currency else { + guard let currencyCode = amount.currency else { throw BalanceChecker.Error.unexpectedCurrencyCode }