mirror of https://github.com/usbharu/Hideout.git
style: fix lint
This commit is contained in:
parent
61e61ec4bd
commit
e5f620749e
|
@ -32,7 +32,6 @@ class ExposedGenerateTimelineService(private val statusQueryService: StatusQuery
|
|||
}
|
||||
val result = query.withPagination(page, Timelines.id)
|
||||
|
||||
|
||||
val statusQueries = result.map {
|
||||
StatusQuery(
|
||||
it[Timelines.postId],
|
||||
|
|
|
@ -50,7 +50,6 @@ class MongoMastodonNotificationRepositoryWrapper(
|
|||
mongoTemplate.find(query, MastodonNotification::class.java)
|
||||
}
|
||||
|
||||
|
||||
return PaginationList(
|
||||
mastodonNotifications,
|
||||
mastodonNotifications.firstOrNull()?.id,
|
||||
|
|
|
@ -9,6 +9,7 @@ interface StatusQueryService {
|
|||
suspend fun findByPostIds(ids: List<Long>): List<Status>
|
||||
suspend fun findByPostIdsWithMediaIds(statusQueries: List<StatusQuery>): List<Status>
|
||||
|
||||
@Suppress("LongParameterList")
|
||||
suspend fun accountsStatus(
|
||||
accountId: Long,
|
||||
onlyMedia: Boolean = false,
|
||||
|
|
|
@ -20,6 +20,7 @@ import kotlin.math.min
|
|||
@Suppress("TooManyFunctions")
|
||||
interface AccountApiService {
|
||||
|
||||
@Suppress("ongParameterList")
|
||||
suspend fun accountsStatuses(
|
||||
userid: Long,
|
||||
onlyMedia: Boolean,
|
||||
|
|
Loading…
Reference in New Issue