Skip to content

Commit

Permalink
fix: resolved a pr coommented issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mfontosco committed Mar 3, 2025
1 parent 21381cb commit 3b2a91e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/paystack/paystack.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export class PaystackController {
}

@Post('webhook')
@skipAuth()
handleWebhook(@Body() body: any, @Req() req: { headers: Record<string, string> }) {
const paystackSecret = process.env.PAYSTACK_WEBHOOK_SECRET;
if (!paystackSecret) {
Expand Down

0 comments on commit 3b2a91e

Please sign in to comment.