From 8aef917adf00485f351ddee09cc9d8ea96f16f17 Mon Sep 17 00:00:00 2001 From: Vaishali K Date: Wed, 28 Aug 2024 12:29:15 +0530 Subject: [PATCH] Revert "commented pipe of date validation from update controller" --- src/modules/event/event.controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/event/event.controller.ts b/src/modules/event/event.controller.ts index a460987..4d38ad5 100644 --- a/src/modules/event/event.controller.ts +++ b/src/modules/event/event.controller.ts @@ -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') @@ -125,7 +125,7 @@ export class EventController { @Param('id') id: string, @Body( new ValidationPipe({ transform: true }), - // new DateValidationPipe(), + new DateValidationPipe(), // new RegistrationDateValidationPipe(), // new RecurringEndDateValidationPipe(), )