diff --git a/standalone/portal-api/src/main.ts b/standalone/portal-api/src/main.ts index 7dbb7c62b..4360ba9e1 100644 --- a/standalone/portal-api/src/main.ts +++ b/standalone/portal-api/src/main.ts @@ -46,10 +46,10 @@ async function bootstrap() { fallbackOnErrors: true, }); - // app.useGlobalInterceptors( - // new ClassSerializerInterceptor(app.get(Reflector)), - // new LoggingInterceptor(loggerService, app.get(Reflector)) - // ); + app.useGlobalInterceptors( + new ClassSerializerInterceptor(app.get(Reflector)), + new LoggingInterceptor(loggerService, app.get(Reflector)) + ); app.useGlobalPipes(new ValidationPipe(validationOptions));