fix: front-end autowire

This commit is contained in:
Piotr Dec 2025-10-17 20:41:52 +02:00
parent 5224fe78b6
commit 7c0ef15567
Signed by: stawros
GPG key ID: 74B18A3F0F1E99C0
4 changed files with 15 additions and 11 deletions

View file

@ -13,6 +13,7 @@ class KarlApplication:
from starlette.types import Receive, Scope, Send
def __init__(self) -> None:
self._set_logging()
load_injection_container()
_instance = FastAPI(title="Karl", version="0.1.0")
self._set_routes(_instance)
self._set_events(_instance)
@ -52,7 +53,6 @@ class KarlApplication:
def _init_services(self):
logger = logging.getLogger(__name__)
load_injection_container()
webhook_service = WebhookProcessor()
logger.info(webhook_service.health)