feat(connector): [SQUARE] Implement webhooks (#1980)

This commit is contained in:
DEEPANSHU BANSAL
2023-09-06 19:36:31 +05:30
committed by GitHub
parent 3c93552101
commit 5a49802f56
4 changed files with 124 additions and 11 deletions

View File

@ -728,6 +728,7 @@ pub async fn webhooks_core<W: types::OutgoingWebhookType>(
let connector = connector.connector;
let mut request_details = api::IncomingWebhookRequestDetails {
method: req.method().clone(),
uri: req.uri().clone(),
headers: req.headers(),
query_params: req.query_string().to_string(),
body: &body,