Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
usbharu 2024-01-26 12:50:33 +09:00 committed by GitHub
parent 63632f7676
commit 70d7e94d4c
3 changed files with 1 additions and 3 deletions

View File

@ -18,7 +18,6 @@ class MastodonStatusesApiContoller(
): ResponseEntity<Status> { ): ResponseEntity<Status> {
val userid = loginUserContextHolder.getLoginUserId() val userid = loginUserContextHolder.getLoginUserId()
return ResponseEntity( return ResponseEntity(
statusesApiService.postStatus( statusesApiService.postStatus(
devUsbharuHideoutDomainModelMastodonStatusesRequest, devUsbharuHideoutDomainModelMastodonStatusesRequest,

View File

@ -22,7 +22,6 @@ class MastodonTimelineApiController(
minId: String?, minId: String?,
limit: Int? limit: Int?
): ResponseEntity<Flow<Status>> = runBlocking { ): ResponseEntity<Flow<Status>> = runBlocking {
val homeTimeline = timelineApiService.homeTimeline( val homeTimeline = timelineApiService.homeTimeline(
userId = loginUserContextHolder.getLoginUserId(), userId = loginUserContextHolder.getLoginUserId(),
maxId = maxId?.toLongOrNull(), maxId = maxId?.toLongOrNull(),