Skip to content

Commit

Permalink
Merge pull request #94 from Shubham4026/bakend_feature
Browse files Browse the repository at this point in the history
Added Webhook Signature in Headers
  • Loading branch information
Shubham4026 authored Feb 27, 2025
2 parents 5f490a0 + 1dd7547 commit 893a822
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/middleware/gateway.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ export class GatewayService {
if (oheaders['x-channel-id']) {
newheaders['x-channel-id'] = oheaders['x-channel-id'];
}
if (oheaders['x-signature']) {
newheaders['x-signature'] = oheaders['x-signature'];
}
try {
const response = await axios({
method,
Expand Down

0 comments on commit 893a822

Please sign in to comment.