refactor(events): Tenant config in API, Connector and Outgoing Web-hook events (#6777)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
ShivanshMathurJuspay
2024-12-10 16:48:50 +05:30
committed by GitHub
parent 3df4233356
commit c620779bbd
7 changed files with 14 additions and 0 deletions

View File

@ -99,6 +99,7 @@ pub async fn incoming_webhooks_wrapper<W: types::OutgoingWebhookType>(
.attach_printable("Could not convert webhook effect to string")?;
let api_event = ApiEvent::new(
state.tenant.tenant_id.clone(),
Some(merchant_account.get_id().clone()),
flow,
&request_id,