diff --git a/Elfo.Wardein.Services/ServiceBuilder.cs b/Elfo.Wardein.Services/ServiceBuilder.cs index 14026c9..c14e12b 100644 --- a/Elfo.Wardein.Services/ServiceBuilder.cs +++ b/Elfo.Wardein.Services/ServiceBuilder.cs @@ -33,6 +33,7 @@ public async Task ConfigureAndRunWarden() var configurationBuilder = WardenConfiguration .Create() + .SetHooks(hooks => hooks.OnStartAsync(() => ConfigureAndRunAPIHosting())) .AddWardeinHeartBeatWatcher(wardeinConfiguration.Heartbeat, "HeartbeatWatcher"); // TODO: refactor and add oracle integration (even if useles at the moment)