Skip to content

Commit

Permalink
노출되면 안되는 초대 코드 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
gidskql6671 committed May 28, 2024
1 parent 90da6af commit 0ced0c2
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ data class GroupOfListDto(
val name: String,

@Schema(description = "비밀 그룹 여부", nullable = false, example = "false")
val isPrivate: Boolean,

@Schema(description = "입장 코드", example = "b3dad41qSd3rYT1")
val inviteCode: String? = null
val isPrivate: Boolean
)

fun Group.toGroupOfListDto() = GroupOfListDto(id!!, name, isPrivate, inviteCode)
fun Group.toGroupOfListDto() = GroupOfListDto(id!!, name, isPrivate)

0 comments on commit 0ced0c2

Please sign in to comment.