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

@ -129,7 +129,7 @@ class MastodonAccountApiController(
}
override suspend fun apiV1AccountsUpdateCredentialsPatch(updateCredentials: UpdateCredentials?):
ResponseEntity<Account> {
ResponseEntity<Account> {
val userid = loginUserContextHolder.getLoginUserId()
val removeFromFollowers = accountApiService.updateProfile(userid, updateCredentials)

View File

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

View File

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