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 }, ) } }