diff --git a/src/user/dto/signup-user.dto.ts b/src/user/dto/signup-user.dto.ts index 1c8629b..9c840da 100644 --- a/src/user/dto/signup-user.dto.ts +++ b/src/user/dto/signup-user.dto.ts @@ -1,10 +1,11 @@ -import { IsNotEmpty, IsString } from 'class-validator'; +import { IsNotEmpty, IsString, IsOptional } from 'class-validator'; export class SignUpUserDto { - @IsString() @IsNotEmpty() + @IsString() readonly nickname: string; + @IsOptional() @IsString() readonly slackId: string; }