Skip to content

Commit

Permalink
Update ios/Classes/utils/ConfigurationMapper.swift
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Guretzki <[email protected]>
  • Loading branch information
Robert-SD and goergisn authored Sep 21, 2023
1 parent 240aab2 commit 50355ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Classes/utils/ConfigurationMapper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 50355ec

Please sign in to comment.