fix: アカウントの投稿一覧が未ログイン時に見れなくなっていた問題を修正

This commit is contained in:
usbharu 2024-02-01 15:53:18 +09:00
parent a089ab7a04
commit a062d0b9c3
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class MastodonAccountApiController(
pinned: Boolean,
tagged: String?
): ResponseEntity<Flow<Status>> = runBlocking {
val userid = loginUserContextHolder.getLoginUserId()
val userid = loginUserContextHolder.getLoginUserIdOrNull()
val statuses = accountApiService.accountsStatuses(
userid = id.toLong(),
onlyMedia = onlyMedia,