mirror of https://github.com/usbharu/Hideout.git
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
63632f7676
commit
70d7e94d4c
|
@ -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)
|
||||
|
|
|
@ -18,7 +18,6 @@ class MastodonStatusesApiContoller(
|
|||
): ResponseEntity<Status> {
|
||||
val userid = loginUserContextHolder.getLoginUserId()
|
||||
|
||||
|
||||
return ResponseEntity(
|
||||
statusesApiService.postStatus(
|
||||
devUsbharuHideoutDomainModelMastodonStatusesRequest,
|
||||
|
|
|
@ -22,7 +22,6 @@ class MastodonTimelineApiController(
|
|||
minId: String?,
|
||||
limit: Int?
|
||||
): ResponseEntity<Flow<Status>> = runBlocking {
|
||||
|
||||
val homeTimeline = timelineApiService.homeTimeline(
|
||||
userId = loginUserContextHolder.getLoginUserId(),
|
||||
maxId = maxId?.toLongOrNull(),
|
||||
|
|
Loading…
Reference in New Issue