Compare commits
2 Commits
dcd26308d3
...
537cdbb307
| Author | SHA1 | Date | |
|---|---|---|---|
| 537cdbb307 | |||
| 18f53df9f8 |
@@ -56,6 +56,9 @@ class AudioContentMainService(
|
|||||||
offset = pageable.offset,
|
offset = pageable.offset,
|
||||||
limit = pageable.pageSize.toLong()
|
limit = pageable.pageSize.toLong()
|
||||||
)
|
)
|
||||||
|
.asSequence()
|
||||||
|
.filter { !blockMemberRepository.isBlocked(blockedMemberId = member.id!!, memberId = it.creatorId) }
|
||||||
|
.toList()
|
||||||
|
|
||||||
return GetNewContentAllResponse(totalCount, items)
|
return GetNewContentAllResponse(totalCount, items)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -272,7 +272,7 @@ class CreatorCommunityService(
|
|||||||
duration.toMinutes() < 60 -> "${duration.toMinutes()}분전"
|
duration.toMinutes() < 60 -> "${duration.toMinutes()}분전"
|
||||||
duration.toHours() < 24 -> "${duration.toHours()}시간전"
|
duration.toHours() < 24 -> "${duration.toHours()}시간전"
|
||||||
duration.toDays() < 30 -> "${duration.toDays()}일전"
|
duration.toDays() < 30 -> "${duration.toDays()}일전"
|
||||||
duration.toDays() < 365 -> "${duration.toDays() / 30}분전"
|
duration.toDays() < 365 -> "${duration.toDays() / 30}개월"
|
||||||
else -> "${duration.toDays() / 365}년전"
|
else -> "${duration.toDays() / 365}년전"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user