Skip to content

Commit

Permalink
Fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
vulcandragi committed Sep 6, 2024
1 parent a1bfa79 commit 8d1195f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ object CustomLogger : SqlLogger {
}
}

suspend fun <T> query(block: () -> T, dispatcher: CoroutineDispatcher = Dispatchers.IO): T = withContext(dispatcher) {
suspend fun <T> query(dispatcher: CoroutineDispatcher = Dispatchers.IO, block: () -> T): T = withContext(dispatcher) {
transaction {
addLogger(CustomLogger)
block()
Expand Down

0 comments on commit 8d1195f

Please sign in to comment.