From b5dae8409830675bd2526df1190ae971cec33eb5 Mon Sep 17 00:00:00 2001 From: sai-harsha-vardhan Date: Wed, 22 Jan 2025 23:54:32 +0530 Subject: [PATCH] fix clippy v2 --- crates/common_utils/src/types.rs | 3 +++ crates/hyperswitch_domain_models/src/router_request_types.rs | 1 + 2 files changed, 4 insertions(+) diff --git a/crates/common_utils/src/types.rs b/crates/common_utils/src/types.rs index 9e71ca76733f..4e88d5c0fdec 100644 --- a/crates/common_utils/src/types.rs +++ b/crates/common_utils/src/types.rs @@ -1408,6 +1408,9 @@ pub struct BrowserInformation { /// The device model of the client pub device_model: Option, + + /// Accept-language of the browser + pub accept_language: Option, } #[cfg(feature = "v2")] diff --git a/crates/hyperswitch_domain_models/src/router_request_types.rs b/crates/hyperswitch_domain_models/src/router_request_types.rs index c1cad8020589..4598fa5d1b59 100644 --- a/crates/hyperswitch_domain_models/src/router_request_types.rs +++ b/crates/hyperswitch_domain_models/src/router_request_types.rs @@ -509,6 +509,7 @@ impl From for BrowserInformation { os_type: value.os_type, os_version: value.os_version, device_model: value.device_model, + accept_language: value.accept_language, } } }