Skip to content

Commit

Permalink
feat: mark webhook controller as public
Browse files Browse the repository at this point in the history
  • Loading branch information
StashBank committed Nov 11, 2024
1 parent e56dc7f commit c29b63a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/stripe/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@valor/nestjs-stripe",
"version": "0.0.22",
"version": "0.0.23",
"type": "commonjs",
"private": false,
"author": "opavlovskyi-valor-software",
Expand Down
4 changes: 3 additions & 1 deletion libs/stripe/src/lib/webhook/webhook.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ import {
UseFilters,
UseGuards,
UsePipes,
ValidationPipe
ValidationPipe,
SetMetadata
} from '@nestjs/common';
import {
ApiBearerAuth,
Expand All @@ -35,6 +36,7 @@ import { WebhookExceptionFilter } from './webhook.exception.filter';
import { WebhookResponse } from './webhook.interfaces';
import { WebhookService } from './webhook.service';

@SetMetadata('isPublic', true)
@ApiTags('Stripe: Webhooks')
@Controller('stripe/webhooks')
@UseFilters(new WebhookExceptionFilter())
Expand Down

0 comments on commit c29b63a

Please sign in to comment.