mirror of https://github.com/usbharu/Hideout.git
style: fix lint (CI)
This commit is contained in:
parent
3a81783d2c
commit
5969371a40
|
@ -49,7 +49,7 @@ class MvcConfigurer(
|
|||
fun mdcFilter(): FilterRegistrationBean<MDCInsertingServletFilter> {
|
||||
val bean = FilterRegistrationBean<MDCInsertingServletFilter>()
|
||||
bean.filter = MDCInsertingServletFilter()
|
||||
bean.addUrlPatterns("/*");
|
||||
bean.addUrlPatterns("/*")
|
||||
bean.order = Int.MIN_VALUE
|
||||
return bean
|
||||
}
|
||||
|
|
|
@ -30,8 +30,6 @@ class ApplicationRequestLogInterceptor : AsyncHandlerInterceptor {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (userDetailId != null) {
|
||||
MDC.put(userId, userDetailId.toString())
|
||||
}
|
||||
|
|
|
@ -8,6 +8,4 @@ class MastodonReadTimeline(
|
|||
val localOnly: Boolean,
|
||||
val remoteOnly: Boolean,
|
||||
val page: Page
|
||||
) {
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -68,7 +68,8 @@ class SpringTimelineApi(
|
|||
minId?.toLongOrNull(),
|
||||
limit
|
||||
)
|
||||
), principal
|
||||
),
|
||||
principal
|
||||
).asFlow()
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue