From 421806d13befac5092d87d4864358692938ccfd3 Mon Sep 17 00:00:00 2001 From: Antonin Coquet <ext.sopra.acoquet@grandlyon.com> Date: Thu, 6 May 2021 11:08:52 +0200 Subject: [PATCH] fix: remove useless improt --- src/structures/structures.controller.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/structures/structures.controller.ts b/src/structures/structures.controller.ts index 67012bced..65dcfd00b 100644 --- a/src/structures/structures.controller.ts +++ b/src/structures/structures.controller.ts @@ -1,6 +1,5 @@ import { Body, - ClassSerializerInterceptor, Controller, Delete, Get, @@ -12,7 +11,6 @@ import { Put, Query, UseGuards, - UseInterceptors, } from '@nestjs/common'; import { ApiParam } from '@nestjs/swagger'; import { Types } from 'mongoose'; @@ -96,7 +94,6 @@ export class StructuresController { } @Get('formated') - //@UseInterceptors(ClassSerializerInterceptor) public async findAllFormated(): Promise<Structure[]> { const formationCategories = await this.categoriesFormationsService.findAll(); const accompagnementCategories = await this.categoriesAccompagnementService.findAll(); -- GitLab