commit
8e7e77067a
|
@ -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}년전"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue