fix(Respond to Webhook Node): Return headers in response (#6921)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-08-14 12:38:17 +02:00
committed by GitHub
parent 139e08a549
commit a82107fb05
2 changed files with 13 additions and 3 deletions

View File

@@ -113,7 +113,13 @@ export const webhookRequestHandler =
// Don't respond, if already responded
if (response.noWebhookResponse !== true) {
ResponseHelper.sendSuccessResponse(res, response.data, true, response.responseCode);
ResponseHelper.sendSuccessResponse(
res,
response.data,
true,
response.responseCode,
response.headers,
);
}
};