Skip to content

Commit

Permalink
feat: get user imgaeUrl
Browse files Browse the repository at this point in the history
when signup, get image url as profile image

#18
  • Loading branch information
seo-wo committed Dec 13, 2023
1 parent a484856 commit 79dc197
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/user/dto/create-user.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ export class CreateUserDto {
@IsString()
@IsNotEmpty()
readonly googleId: string;

@IsString()
@IsNotEmpty()
readonly imageUrl: string;
}
4 changes: 4 additions & 0 deletions src/user/dto/signup-user.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ export class SignUpUserDto {
@IsOptional()
@IsString()
readonly slackId: string;

@IsNotEmpty()
@IsString()
readonly imageUrl: string;
}

0 comments on commit 79dc197

Please sign in to comment.