diff options
author | Linnea Gräf <nea@nea.moe> | 2025-01-30 20:11:37 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2025-01-30 20:11:37 +0100 |
commit | 8e386bcf8d10784fc7784333be9e4470598c71d4 (patch) | |
tree | f0bd83c41bd083b6708703d420fe466b5f66111a /mod/src/main/kotlin/moe/nea/ledger/QueryCommand.kt | |
parent | e51a59636129c35b58dbdda83b141b539a87e6fe (diff) | |
download | LocalTransactionLedger-master.tar.gz LocalTransactionLedger-master.tar.bz2 LocalTransactionLedger-master.zip |
Diffstat (limited to 'mod/src/main/kotlin/moe/nea/ledger/QueryCommand.kt')
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/QueryCommand.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/src/main/kotlin/moe/nea/ledger/QueryCommand.kt b/mod/src/main/kotlin/moe/nea/ledger/QueryCommand.kt index abdc13a..80dd54c 100644 --- a/mod/src/main/kotlin/moe/nea/ledger/QueryCommand.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/QueryCommand.kt @@ -172,7 +172,7 @@ class QueryCommand : CommandBase() { override val name: String get() = "withitem" - private val itemIdProvider = Ledger.di.provide<ItemIdProvider>() // TODO: close this escape hatch + private val itemIdProvider = Ledger.leakDI().provide<ItemIdProvider>() // TODO: close this escape hatch override fun getFilter(text: String): BooleanExpression { return Clause { column(DBItemEntry.itemId) like text } } |