From b086d964f685b0fc69d063d50e139e747358825f Mon Sep 17 00:00:00 2001 From: Sk Sakil Mostak Date: Tue, 17 Dec 2024 17:54:17 +0530 Subject: [PATCH] refactor: resolve v2 ci check --- crates/diesel_models/src/payment_method.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/diesel_models/src/payment_method.rs b/crates/diesel_models/src/payment_method.rs index 1d76c1598a3e..8ae34a6f89cf 100644 --- a/crates/diesel_models/src/payment_method.rs +++ b/crates/diesel_models/src/payment_method.rs @@ -265,6 +265,7 @@ pub enum PaymentMethodUpdate { pub enum PaymentMethodUpdate { UpdatePaymentMethodDataAndLastUsed { payment_method_data: Option, + scheme: Option, last_used_at: PrimitiveDateTime, }, PaymentMethodDataUpdate { @@ -728,6 +729,7 @@ impl From for PaymentMethodUpdateInternal { PaymentMethodUpdate::UpdatePaymentMethodDataAndLastUsed { payment_method_data, last_used_at, + .. } => Self { payment_method_data, last_used_at: Some(last_used_at),