Skip to content

Commit

Permalink
fix: display 사용하도록 변경 (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimin3263 authored Aug 10, 2024
1 parent 5584a40 commit fdbb9b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class ContentController(
): ResponseEntity<SliceResponseDto<ContentsResponse>> {
return contentUseCase.getContentsByCategoryName(
user.id,
CategoryStatus.UNCATEGORIZED.name,
CategoryStatus.UNCATEGORIZED.displayName,
pageable
)
.map { it.toResponse() }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class ContentAdapter(
val contentResults = contents.map {
ContentsResult.of(
it[contentEntity]!!.toDomain(),
CategoryStatus.resolveDisplayName(it[categoryEntity.name]!!),
it[categoryEntity.name]!!,
it[userLogEntity.count()]!!
)
}
Expand Down

0 comments on commit fdbb9b0

Please sign in to comment.