Skip to content

Commit

Permalink
feat : 포킷 조회 - 공개여부, 유저카운트 추가 (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlswns2480 authored Dec 18, 2024
1 parent 60ef5e0 commit d7e5166
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ data class CategoriesResponse(
val createdAt: String,
val openType: String,
val keywordType: String,
val userCount: Int,
)

fun Category.toCategoriesResponse(): CategoriesResponse {
Expand All @@ -26,6 +27,7 @@ fun Category.toCategoriesResponse(): CategoriesResponse {
contentCount = this.contentCount,
createdAt = this.createdAt.format(formatter),
openType = this.openType.toString(),
keywordType = this.keyword.kor
keywordType = this.keyword.kor,
userCount = this.userCount,
)
}

0 comments on commit d7e5166

Please sign in to comment.