fix: 削除フラグが永続化されていなかったのを修正

This commit is contained in:
usbharu 2023-12-13 15:04:18 +09:00
parent 8a18780963
commit b3723da219
1 changed files with 2 additions and 0 deletions

View File

@ -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