mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
fix: store and retrieve merchant secret from MCA table for webhooks source verification (#1331)
Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in>
This commit is contained in:
@ -101,7 +101,7 @@ impl Webhooks {
|
||||
web::scope("/webhooks")
|
||||
.app_data(web::Data::new(config))
|
||||
.service(
|
||||
web::resource("/{merchant_id}/{connector}")
|
||||
web::resource("/{merchant_id}/{connector_label}")
|
||||
.route(
|
||||
web::post().to(webhooks::receive_incoming_webhook::<StripeOutgoingWebhook>),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user