revert: connector_label in webhook url is reverted back to connector_name (#1779)

This commit is contained in:
Hrithikesh
2023-07-25 09:58:28 +05:30
committed by GitHub
parent 4ce53092a6
commit a229c37a7c
7 changed files with 167 additions and 45 deletions

View File

@ -101,7 +101,7 @@ impl Webhooks {
web::scope("/webhooks")
.app_data(web::Data::new(config))
.service(
web::resource("/{merchant_id}/{connector_label}")
web::resource("/{merchant_id}/{connector_name}")
.route(
web::post().to(webhooks::receive_incoming_webhook::<StripeOutgoingWebhook>),
)