Skip to content

Commit

Permalink
Fix DI issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ILIYANGERMANOV committed Nov 28, 2024
1 parent 42febc4 commit 6ac82ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/src/main/kotlin/ivy/learn/di/AppModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import ivy.learn.config.Environment
import ivy.learn.config.EnvironmentImpl
import ivy.learn.config.ServerConfigurationProvider
import ivy.learn.util.Crypto
import ivy.learn.util.TimeProvider

class AppModule(private val devMode: Boolean) : Di.Module {
override fun init() = Di.appScope {
Expand All @@ -20,5 +21,6 @@ class AppModule(private val devMode: Boolean) : Di.Module {
autoWire(::ServerConfigurationProvider)
autoWireSingleton(::LearnServer)
autoWire(::Crypto)
autoWire(::TimeProvider)
}
}

0 comments on commit 6ac82ff

Please sign in to comment.