style: fix lint (CI)

This commit is contained in:
usbharu 2024-09-10 12:11:46 +00:00 committed by github-actions[bot]
parent 88d34a6b71
commit ad112406b8
3 changed files with 72 additions and 70 deletions

View File

@ -8,6 +8,4 @@ class MastodonReadTimeline(
val localOnly: Boolean,
val remoteOnly: Boolean,
val page: Page
) {
}
)

View File

@ -38,7 +38,8 @@ class MastodonReadTimelineApplicationService(
val readTimeline = timelineStore.readTimeline(timeline, readTimelineOption, command.page, principal)
return PaginationList(readTimeline.map {
return PaginationList(
readTimeline.map {
Status(
it.postId.id.toString(),
it.post.url.toString(),
@ -103,7 +104,9 @@ class MastodonReadTimelineApplicationService(
pinned = false,
filtered = emptyList(),
)
}, readTimeline.next?.id, readTimeline.prev?.id)
},
readTimeline.next?.id, readTimeline.prev?.id
)
}
companion object {

View File

@ -67,7 +67,8 @@ class SpringTimelineApi(
minId?.toLongOrNull(),
limit
)
), principal
),
principal
).asFlow()
)
}