diff --git a/delta/app/src/main/scala/ch/epfl/bluebrain/nexus/delta/wiring/IdentitiesModule.scala b/delta/app/src/main/scala/ch/epfl/bluebrain/nexus/delta/wiring/IdentitiesModule.scala index da7d50231c..a7674443ec 100644 --- a/delta/app/src/main/scala/ch/epfl/bluebrain/nexus/delta/wiring/IdentitiesModule.scala +++ b/delta/app/src/main/scala/ch/epfl/bluebrain/nexus/delta/wiring/IdentitiesModule.scala @@ -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. @@ -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) =>