Skip to content

Commit 8fb7761

Browse files
committed
address pr comments
1 parent e397bd5 commit 8fb7761

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/router/src/core/payments.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5075,7 +5075,6 @@ where
50755075
"Apple Pay wallet data not found in the payment method data during the Apple Pay decryption flow",
50765076
)?;
50775077

5078-
// here we can add a validation to check if the apple pay wallet data is of type ecrypted
50795078
let apple_pay_data =
50805079
ApplePayData::token_json(domain::WalletData::ApplePay(apple_pay_wallet_data.clone()))
50815080
.change_context(errors::ApiErrorResponse::InternalServerError)
@@ -5090,7 +5089,7 @@ where
50905089

50915090
let apple_pay_predecrypt_internal = apple_pay_data
50925091
.parse_value::<hyperswitch_domain_models::router_data::ApplePayPredecryptDataInternal>(
5093-
"ApplePayPredecryptData",
5092+
"ApplePayPredecryptDataInternal",
50945093
)
50955094
.change_context(errors::ApiErrorResponse::InternalServerError)
50965095
.attach_printable(

0 commit comments

Comments
 (0)