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
|
@ -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,
|
||||||
|
|
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue