Loading backend/src/pointOfInterest/PointOfInterest.controller.ts +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ export class PointOfInterestController { @ApiConsumes('multipart/form-data') @Roles(ADMIN_ROLES) @ApiBearerAuth('jwt') @Post() @Post('point') @UseInterceptors(fileInterceptor('image', 'static/points/', ['.jpg', '.jpeg', '.png'])) async create(@UploadedFile(new FileValidationPipe()) file, @Body() createActivityDto: CreatePointAndTradDto) { try { Loading Loading
backend/src/pointOfInterest/PointOfInterest.controller.ts +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ export class PointOfInterestController { @ApiConsumes('multipart/form-data') @Roles(ADMIN_ROLES) @ApiBearerAuth('jwt') @Post() @Post('point') @UseInterceptors(fileInterceptor('image', 'static/points/', ['.jpg', '.jpeg', '.png'])) async create(@UploadedFile(new FileValidationPipe()) file, @Body() createActivityDto: CreatePointAndTradDto) { try { Loading