mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
feat(headers): add optional header masking feature to outbound request (#1320)
This commit is contained in:
@ -575,7 +575,7 @@ pub async fn trigger_webhook_to_merchant<W: api::OutgoingWebhookType>(
|
||||
)];
|
||||
|
||||
if let Some(signature) = outgoing_webhooks_signature {
|
||||
header.push((headers::X_WEBHOOK_SIGNATURE.to_string(), signature))
|
||||
header.push((headers::X_WEBHOOK_SIGNATURE.to_string(), signature.into()))
|
||||
}
|
||||
|
||||
let request = services::RequestBuilder::new()
|
||||
|
||||
Reference in New Issue
Block a user