Skip to content

Commit

Permalink
Fix wiring
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Dumas committed Sep 21, 2023
1 parent 7a16648 commit 96f527a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import ch.epfl.bluebrain.nexus.delta.sdk.identities.{Identities, IdentitiesImpl}
import ch.epfl.bluebrain.nexus.delta.sdk.model.BaseUri
import ch.epfl.bluebrain.nexus.delta.sdk.realms.Realms
import izumi.distage.model.definition.{Id, ModuleDef}
import ch.epfl.bluebrain.nexus.delta.kernel.effect.migration._

/**
* Identities module wiring config.
Expand All @@ -26,7 +27,7 @@ object IdentitiesModule extends ModuleDef {
make[CacheConfig].from((cfg: AppConfig) => cfg.identities)

make[Identities].fromEffect { (realms: Realms, hc: HttpClient @Id("realm"), config: CacheConfig) =>
IdentitiesImpl(realms, hc, config)
IdentitiesImpl(realms, hc, config).toUIO
}

make[OpenIdAuthService].from { (httpClient: HttpClient @Id("realm"), realms: Realms) =>
Expand Down

0 comments on commit 96f527a

Please sign in to comment.