mirror of https://github.com/usbharu/Hideout.git
Update src/main/kotlin/dev/usbharu/hideout/service/post/MongoGenerateTimelineService.kt
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
f38523d969
commit
046ca2c155
|
@ -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
|
||||
)
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue