Skip to content

Commit

Permalink
feat :: UserRole 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
HyunSu1768 committed Feb 4, 2024
1 parent 15bd628 commit c68ae11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ class UserHandler(
grade = this.grade,
num = this.num,
birthDay = this.birthDay,
id = this.id
id = this.id,
userRole = this.role
)

suspend fun getUserProfileHandler(serverRequest: ServerRequest): ServerResponse {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.xquare.v1userservice.user.router.dto

import com.xquare.v1userservice.user.UserRole
import java.time.LocalDate
import java.util.UUID

Expand All @@ -20,5 +21,7 @@ data class GetUserResponse(

val profileFileName: String?,

val password: String
val password: String,

val userRole: UserRole
)

0 comments on commit c68ae11

Please sign in to comment.