fix: front-end autowire
This commit is contained in:
parent
5224fe78b6
commit
7c0ef15567
4 changed files with 15 additions and 11 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue