This commit is contained in:
2023-04-06 21:12:41 +02:00
parent 034e301073
commit 551b860464
3 changed files with 7 additions and 9 deletions

View File

@@ -63,7 +63,6 @@ class Requester(
fun getQuery(path: String): Query = queries[path] ?: throw NoQueryDefined(path) fun getQuery(path: String): Query = queries[path] ?: throw NoQueryDefined(path)
fun <A> inTransaction(block: Requester.() -> A?): A? = connection.inTransaction { fun <A> inTransaction(block: Requester.() -> A?): A? = connection.inTransaction {
this@Requester.block() this@Requester.block()
} }

View File

@@ -76,4 +76,3 @@ class Function(
return other.script != this.script return other.script != this.script
} }
} }