Skip to content

Commit

Permalink
feat : 사용자 전체 불러올 때 oauth provider도 같이!
Browse files Browse the repository at this point in the history
  • Loading branch information
seohyun-kim committed Dec 8, 2022
1 parent 622d91e commit 83f0af7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/entity/User.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ export default class User extends BaseBetterEntity {
return {
id: this.id,
email: this.email,
oauthProvider: this.oauthProvider,
nickname: this.nickname,
subscribingOn:this.subscribingOn,
createdAt: this.createdAt
Expand Down
1 change: 1 addition & 0 deletions src/entity/schemes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export const UserResponseScheme = {
export const UserResponseSchemeForDev = {
id: z.number(),
email: z.string(),
oauthProvider: z.string(),
nickname: z.string(),
subscribingOn : z.string().optional().nullable(),
createdAt:z.date()
Expand Down

0 comments on commit 83f0af7

Please sign in to comment.