From f27ebf9c4e719c937b8ce1352071404b907c0f69 Mon Sep 17 00:00:00 2001 From: Shankar Singh C Date: Tue, 21 Nov 2023 19:14:44 +0530 Subject: [PATCH] address pr comments --- crates/router/src/core/locker_migration.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/router/src/core/locker_migration.rs b/crates/router/src/core/locker_migration.rs index 5f61acea8f3a..7817398a0db9 100644 --- a/crates/router/src/core/locker_migration.rs +++ b/crates/router/src/core/locker_migration.rs @@ -83,7 +83,7 @@ pub async fn call_to_locker( .into_iter() .filter(|pm| matches!(pm.payment_method, storage_enums::PaymentMethod::Card)) { - let falliable: Result<(), errors::ApiErrorResponse> = { + let fallible: Result<(), errors::ApiErrorResponse> = { let card = cards::get_card_from_locker(state, customer_id, merchant_id, &pm.payment_method_id) .await?; @@ -132,7 +132,7 @@ pub async fn call_to_locker( Ok(()) }; - match falliable { + match fallible { Ok(_) => {} Err(err) => logger::error!(error =? err, "Failed while migrating"), }