feat: ActorのMapperの修正

This commit is contained in:
usbharu 2023-12-21 19:15:00 +09:00
parent 80f4e9fb04
commit cf52ebfd12
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ class UserResultRowMapper(private val actorBuilder: Actor.UserBuilder) : ResultR
followersCount = resultRow[Actors.followersCount],
postsCount = resultRow[Actors.postsCount],
lastPostDate = resultRow[Actors.lastPostAt],
emojis = resultRow[Actors.emojis].split(",").filter { it.isNotEmpty() }.map { it.toLong() }
)
}
}