Prechádzať zdrojové kódy

refactor: simplify import statements in category and tag controllers

Dave 2 mesiacov pred
rodič
commit
98eb25136d

+ 1 - 6
apps/box-mgnt-api/src/mgnt-backend/feature/category/category.controller.ts

@@ -8,12 +8,7 @@ import {
   Post,
   Put,
 } from '@nestjs/common';
-import {
-  ApiBody,
-  ApiOperation,
-  ApiResponse,
-  ApiTags,
-} from '@nestjs/swagger';
+import { ApiBody, ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
 import {
   CategoryDto,
   CreateCategoryDto,

+ 1 - 6
apps/box-mgnt-api/src/mgnt-backend/feature/tag/tag.controller.ts

@@ -8,12 +8,7 @@ import {
   Post,
   Put,
 } from '@nestjs/common';
-import {
-  ApiBody,
-  ApiOperation,
-  ApiResponse,
-  ApiTags,
-} from '@nestjs/swagger';
+import { ApiBody, ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
 import { TagService } from './tag.service';
 import { MongoIdParamDto } from '../common/mongo-id.dto';
 import { CreateTagDto, ListTagDto, TagDto, UpdateTagDto } from './tag.dto';