Skip to content

Commit

Permalink
Revert "commented pipe of date validation from update controller"
Browse files Browse the repository at this point in the history
  • Loading branch information
vaivk369 authored Aug 28, 2024
1 parent ab73be0 commit 8aef917
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/event/event.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class EventController {
constructor(
private readonly eventService: EventService,
private readonly configService: ConfigService,
) { }
) {}

@UseFilters(new AllExceptionsFilter(API_ID.CREATE_EVENT))
@Post('/create')
Expand Down Expand Up @@ -125,7 +125,7 @@ export class EventController {
@Param('id') id: string,
@Body(
new ValidationPipe({ transform: true }),
// new DateValidationPipe(),
new DateValidationPipe(),
// new RegistrationDateValidationPipe(),
// new RecurringEndDateValidationPipe(),
)
Expand Down

0 comments on commit 8aef917

Please sign in to comment.