mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
feat: add x-hs-latency header for application overhead measurement (#2486)
This commit is contained in:
@ -85,7 +85,7 @@ where
|
||||
let response = S::try_from(response);
|
||||
match response {
|
||||
Ok(response) => match serde_json::to_string(&response) {
|
||||
Ok(res) => api::http_response_json_with_headers(res, headers),
|
||||
Ok(res) => api::http_response_json_with_headers(res, headers, None),
|
||||
Err(_) => api::http_response_err(
|
||||
r#"{
|
||||
"error": {
|
||||
|
||||
Reference in New Issue
Block a user