From 6beac53a9945ab65312a144f973faab393cd174d Mon Sep 17 00:00:00 2001 From: swangi-kumari Date: Tue, 23 Jan 2024 17:32:43 +0530 Subject: [PATCH] refactor: convert display_to_timestamp in milisecond --- crates/router/src/connector/adyen/transformers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/router/src/connector/adyen/transformers.rs b/crates/router/src/connector/adyen/transformers.rs index 902d9ca065ed..cc1e69748bc9 100644 --- a/crates/router/src/connector/adyen/transformers.rs +++ b/crates/router/src/connector/adyen/transformers.rs @@ -3316,7 +3316,7 @@ pub fn get_qr_metadata( .additional_data .clone() .and_then(|additional_data| additional_data.pix_expiration_date) - .map(|t| t.assume_utc().unix_timestamp()); + .map(|t| t.assume_utc().unix_timestamp() * 1000); if let (Some(image_data_url), Some(qr_code_url)) = (image_data_url.clone(), qr_code_url.clone()) {