Skip to content

Commit 6a9d5a5

Browse files
committed
fix clippy
1 parent 106ad3d commit 6a9d5a5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/router/src/connector/checkout/transformers.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,6 @@ impl TryFrom<&CheckoutRouterData<&types::PaymentsAuthorizeRouterData>> for Payme
295295
}
296296
api_models::payments::WalletData::ApplePay(_applepay_data) => {
297297
let payment_method_token = item.router_data.get_payment_method_token()?;
298-
let apple_pay_decrypt_data =
299298
if let Some(types::PaymentMethodToken::ApplePayDecrypt(decrypt_data)) =
300299
Some(payment_method_token.clone())
301300
{
@@ -341,8 +340,7 @@ impl TryFrom<&CheckoutRouterData<&types::PaymentsAuthorizeRouterData>> for Payme
341340
}
342341
},
343342
}))
344-
};
345-
apple_pay_decrypt_data
343+
}
346344
}
347345
api_models::payments::WalletData::AliPayQr(_)
348346
| api_models::payments::WalletData::AliPayRedirect(_)

0 commit comments

Comments
 (0)