From b3723da21923791a7733c3c0571a8c85f12191a5 Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Wed, 13 Dec 2023 15:04:18 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=89=8A=E9=99=A4=E3=83=95=E3=83=A9?= =?UTF-8?q?=E3=82=B0=E3=81=8C=E6=B0=B8=E7=B6=9A=E5=8C=96=E3=81=95=E3=82=8C?= =?UTF-8?q?=E3=81=A6=E3=81=84=E3=81=AA=E3=81=8B=E3=81=A3=E3=81=9F=E3=81=AE?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/infrastructure/exposedrepository/PostRepositoryImpl.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/exposedrepository/PostRepositoryImpl.kt b/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/exposedrepository/PostRepositoryImpl.kt index f64e02d7..e1e323e2 100644 --- a/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/exposedrepository/PostRepositoryImpl.kt +++ b/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/exposedrepository/PostRepositoryImpl.kt @@ -33,6 +33,7 @@ class PostRepositoryImpl( it[replyId] = post.replyId it[sensitive] = post.sensitive it[apId] = post.apId + it[deleted] = post.delted } PostsMedia.batchInsert(post.mediaIds) { this[PostsMedia.postId] = post.id @@ -57,6 +58,7 @@ class PostRepositoryImpl( it[replyId] = post.replyId it[sensitive] = post.sensitive it[apId] = post.apId + it[deleted] = post.delted } } return singleOrNull == null