style: スタイルを修正

This commit is contained in:
usbharu 2023-05-08 11:48:27 +09:00
parent dfa3bb74fb
commit a99f7036fa
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
5 changed files with 10 additions and 11 deletions

View File

@ -25,7 +25,6 @@ class PostRepositoryImpl(database: Database, private val idGenerateService: IdGe
suspend fun <T> query(block: suspend () -> T): T = suspend fun <T> query(block: suspend () -> T): T =
newSuspendedTransaction(Dispatchers.IO) { block() } newSuspendedTransaction(Dispatchers.IO) { block() }
override suspend fun save(post: Post): Post { override suspend fun save(post: Post): Post {
return query { return query {
Posts.insert { Posts.insert {