diff --git a/crates/router/src/core/webhooks/incoming.rs b/crates/router/src/core/webhooks/incoming.rs index 725e6facfcb7..ae2c98e35cc1 100644 --- a/crates/router/src/core/webhooks/incoming.rs +++ b/crates/router/src/core/webhooks/incoming.rs @@ -479,7 +479,7 @@ async fn incoming_webhooks_core( Err(error) => { logger::error!(?error, "Incoming webhook flow failed"); - // fetch teh connector enum from the connector name + // fetch the connector enum from the connector name let connector_enum = api_models::connector_enums::Connector::from_str(&connector_name) .change_context(errors::ApiErrorResponse::InvalidDataValue { diff --git a/crates/router/src/core/webhooks/incoming_v2.rs b/crates/router/src/core/webhooks/incoming_v2.rs index 0deb91efaa8d..c1734794fcc7 100644 --- a/crates/router/src/core/webhooks/incoming_v2.rs +++ b/crates/router/src/core/webhooks/incoming_v2.rs @@ -192,7 +192,7 @@ async fn incoming_webhooks_core( ); let response = connector - .get_webhook_api_response(&request_details) + .get_webhook_api_response(&request_details, None) .switch() .attach_printable("Failed while early return in case of event type parsing")?; @@ -367,7 +367,7 @@ async fn incoming_webhooks_core( }; let response = connector - .get_webhook_api_response(&request_details) + .get_webhook_api_response(&request_details, None) .switch() .attach_printable("Could not get incoming webhook api response from connector")?;