Skip to content

Commit

Permalink
#210 UserResponse에 profileUrl 속성 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
tgyuuAn committed Aug 20, 2023
1 parent 9085fb4 commit 037f321
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import kotlinx.serialization.Serializable
*/
@Serializable
data class UserResponse(
val nickname: String, val userId: Long, val email: String, val message: String,
val nickname: String, val userId: Long, val email: String, val message: String, @SerialName("profile_url") val profileUrl: String? = "",
)

fun UserResponse.toUserDto() = User(nickName = nickname).apply {
Expand Down

0 comments on commit 037f321

Please sign in to comment.