mirror of https://github.com/usbharu/Hideout.git
fix: ReactionRepositoryImplのfindByIdに失敗する問題を修正
This commit is contained in:
parent
5b1f9353b4
commit
acd2dded30
|
@ -102,7 +102,7 @@ class ReactionRepositoryImpl(
|
|||
}
|
||||
|
||||
override suspend fun findById(id: Long): Reaction? = query {
|
||||
return@query Reactions.select { Reactions.id eq id }.singleOrNull()?.toReaction()
|
||||
return@query Reactions.leftJoin(CustomEmojis).select { Reactions.id eq id }.singleOrNull()?.toReaction()
|
||||
}
|
||||
|
||||
override suspend fun findByPostId(postId: Long): List<Reaction> = query {
|
||||
|
|
Loading…
Reference in New Issue