From 38bff8b7b060cfb76dc5b7964cb2d8a3f2d10ddc Mon Sep 17 00:00:00 2001 From: leeheefull Date: Thu, 5 Dec 2024 22:07:51 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EA=B7=B8=EB=A3=B9=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1=20=EC=9A=94=EC=B2=AD,=20=EC=9D=91=EB=8B=B5=EA=B0=92?= =?UTF-8?q?=20=ED=86=B5=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/group/model/response/CreateGroupResponse.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/hero/alignlab/domain/group/model/response/CreateGroupResponse.kt b/src/main/kotlin/com/hero/alignlab/domain/group/model/response/CreateGroupResponse.kt index 0392df3..f25a75c 100644 --- a/src/main/kotlin/com/hero/alignlab/domain/group/model/response/CreateGroupResponse.kt +++ b/src/main/kotlin/com/hero/alignlab/domain/group/model/response/CreateGroupResponse.kt @@ -11,7 +11,7 @@ data class CreateGroupResponse( /** 그룹 설명 */ val description: String?, /** 그룹 태그 리스트 */ - val tags: List?, + val tagNames: List?, ) { companion object { fun from(group: Group, tags: List): CreateGroupResponse { @@ -19,7 +19,7 @@ data class CreateGroupResponse( id = group.id, name = group.name, description = group.description, - tags = tags.map { GroupTagResponse(it.id, it.name) }, + tagNames = tags.map { it.name }, ) } }