Skip to content

Commit

Permalink
address pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ShankarSinghC committed Nov 21, 2023
1 parent bc62ea6 commit f27ebf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/router/src/core/locker_migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?;
Expand Down Expand Up @@ -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"),
}
Expand Down

0 comments on commit f27ebf9

Please sign in to comment.