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