From bf5845b0307bffe50a51632e0924d298a1120c66 Mon Sep 17 00:00:00 2001 From: swangi-kumari Date: Fri, 20 Dec 2024 16:12:48 +0530 Subject: [PATCH] refactor: clippy --- crates/router/src/connector/klarna/transformers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/router/src/connector/klarna/transformers.rs b/crates/router/src/connector/klarna/transformers.rs index 0826b0f2665b..3cefa4ec6c9b 100644 --- a/crates/router/src/connector/klarna/transformers.rs +++ b/crates/router/src/connector/klarna/transformers.rs @@ -236,7 +236,7 @@ impl TryFrom<&KlarnaRouterData<&types::PaymentsAuthorizeRouterData>> for KlarnaP ) -> Result { let request = &item.router_data.request; let payment_method_data = request.payment_method_data.clone(); - let return_url = item.router_data.request.get_return_url()?; + let return_url = item.router_data.request.get_router_return_url()?; let webhook_url = item.router_data.request.get_webhook_url()?; match payment_method_data { domain::PaymentMethodData::PayLater(domain::PayLaterData::KlarnaSdk { .. }) => {