Skip to content

Commit

Permalink
refactor: resolve ci checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakilmostak committed Nov 27, 2024
1 parent 2f81d72 commit a40a8c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/router/src/core/webhooks/incoming.rs
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ async fn incoming_webhooks_core<W: types::OutgoingWebhookType>(
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 {
Expand Down
4 changes: 2 additions & 2 deletions crates/router/src/core/webhooks/incoming_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ async fn incoming_webhooks_core<W: types::OutgoingWebhookType>(
);

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")?;

Expand Down Expand Up @@ -367,7 +367,7 @@ async fn incoming_webhooks_core<W: types::OutgoingWebhookType>(
};

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")?;

Expand Down

0 comments on commit a40a8c3

Please sign in to comment.