mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-26 15:01:09 +00:00
fix: ReactionRepositoryImplのfindByIdに失敗する問題を修正
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user