Commit 864c46e9 authored by nanahira's avatar nanahira

optimize

parent 9361000e
Pipeline #14525 failed with stages
in 31 seconds
...@@ -5,13 +5,11 @@ import { ...@@ -5,13 +5,11 @@ import {
ApiOkResponse, ApiOkResponse,
ApiOperation, ApiOperation,
ApiParam, ApiParam,
ApiProperty,
OmitType, OmitType,
PartialType, PartialType,
} from '@nestjs/swagger'; } from '@nestjs/swagger';
import { Body, Delete, Get, Patch, Post, Query, Type } from '@nestjs/common'; import { Body, Delete, Get, Patch, Post, Query, Type } from '@nestjs/common';
import { import {
BlankPaginatedReturnMessageDto,
BlankReturnMessageDto, BlankReturnMessageDto,
PaginatedReturnMessageDto, PaginatedReturnMessageDto,
ReturnMessageDto, ReturnMessageDto,
......
import { ValidationPipe } from '@nestjs/common'; import { ValidationPipe } from '@nestjs/common';
import { import { ClassConstructor, plainToInstance } from 'class-transformer';
ClassConstructor,
plainToInstance,
plainToInstance,
} from 'class-transformer';
export const CreatePipe = new ValidationPipe({ export const CreatePipe = new ValidationPipe({
transform: true, transform: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment