Skip to content

Commit

Permalink
refactor: convert display_to_timestamp in milisecond
Browse files Browse the repository at this point in the history
  • Loading branch information
swangi-kumari committed Jan 23, 2024
1 parent b42c412 commit 6beac53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/router/src/connector/adyen/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
{
Expand Down

0 comments on commit 6beac53

Please sign in to comment.