diff --git a/src/user/dto/create-user.dto.ts b/src/user/dto/create-user.dto.ts index 25b13a1..69e67e0 100644 --- a/src/user/dto/create-user.dto.ts +++ b/src/user/dto/create-user.dto.ts @@ -15,4 +15,8 @@ export class CreateUserDto { @IsString() @IsNotEmpty() readonly googleId: string; + + @IsString() + @IsNotEmpty() + readonly imageUrl: string; } diff --git a/src/user/dto/signup-user.dto.ts b/src/user/dto/signup-user.dto.ts index 9c840da..4432089 100644 --- a/src/user/dto/signup-user.dto.ts +++ b/src/user/dto/signup-user.dto.ts @@ -8,4 +8,8 @@ export class SignUpUserDto { @IsOptional() @IsString() readonly slackId: string; + + @IsNotEmpty() + @IsString() + readonly imageUrl: string; }