diff --git a/src/main/kotlin/dev/usbharu/hideout/service/post/MongoGenerateTimelineService.kt b/src/main/kotlin/dev/usbharu/hideout/service/post/MongoGenerateTimelineService.kt index 5c67d854..1a75c9b0 100644 --- a/src/main/kotlin/dev/usbharu/hideout/service/post/MongoGenerateTimelineService.kt +++ b/src/main/kotlin/dev/usbharu/hideout/service/post/MongoGenerateTimelineService.kt @@ -51,13 +51,15 @@ class MongoGenerateTimelineService( val timelines = mongoTemplate.find(query, Timeline::class.java) - return statusQueryService.findByPostIdsWithMediaIds(timelines.map { - StatusQuery( - it.postId, - it.replyId, - it.repostId, - it.mediaIds - ) - }) + return statusQueryService.findByPostIdsWithMediaIds( + timelines.map { + StatusQuery( + it.postId, + it.replyId, + it.repostId, + it.mediaIds + ) + } + ) } }