mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
fix(connector): [NETCETERA] add accept-language in browser_information for netcetera authentication request (#7059)
This commit is contained in:
committed by
GitHub
parent
d01172a613
commit
aa8e2e73eb
@ -1388,7 +1388,8 @@ impl From<crate::types::BrowserInformation> for Browser {
|
||||
browser_user_agent: value.user_agent,
|
||||
challenge_window_size: Some(ChallengeWindowSizeEnum::FullScreen),
|
||||
browser_javascript_enabled: value.java_script_enabled,
|
||||
accept_language: None,
|
||||
// Hardcoding to "en" for now, as there's no accept_language in BrowserInformation
|
||||
accept_language: Some(vec!["en".to_string()]),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user