From ef11dd51a61d25bc8722cc844358869b00a5369c Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 8 Dec 2024 03:42:07 +0100 Subject: feat: Add query command --- src/main/kotlin/moe/nea/ledger/utils/DI.kt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/kotlin/moe/nea/ledger/utils') diff --git a/src/main/kotlin/moe/nea/ledger/utils/DI.kt b/src/main/kotlin/moe/nea/ledger/utils/DI.kt index abd6272..e998c65 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/DI.kt +++ b/src/main/kotlin/moe/nea/ledger/utils/DI.kt @@ -62,4 +62,7 @@ class DI { private val values = mutableMapOf, *>, Any>() private val providers = mutableMapOf, BaseDIProvider<*, *>>() + init { + registerSingleton(this) + } } \ No newline at end of file -- cgit