Skip to content

Commit

Permalink
hotfix remove auth in momo webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
MinhhTien committed Mar 12, 2024
1 parent a9f753f commit bd137bf
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/payment/controllers/payment.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,16 @@ import { JwtAuthGuard } from '@auth/guards/jwt-auth.guard'

@ApiTags('Payment')
@ApiBearerAuth()
@UseGuards(JwtAuthGuard.ACCESS_TOKEN)
@Controller('payment')
export class PaymentController {
constructor(
private readonly paymentService: PaymentService,
) {}
constructor(private readonly paymentService: PaymentService) {}

@ApiOperation({
summary: 'Get transaction list of payment'
})
@Get()
@Roles(UserRole.ADMIN)
@UseGuards(RolesGuard)
@UseGuards(JwtAuthGuard.ACCESS_TOKEN, RolesGuard)
@ApiOkResponse({ type: PaymentPaginateResponseDto })
@ApiQuery({ type: PaginationQuery })
paginate(@Pagination() paginationParams: PaginationParams) {
Expand Down

0 comments on commit bd137bf

Please sign in to comment.