Commit e39a072c authored by George Papathanail's avatar George Papathanail
Browse files

fix: wire app_deployment_repo into the NATS completion handler

parent dd478a04
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ from open_exposure_gateway.adapters.database.repos.callback_deliveries import (
from open_exposure_gateway.adapters.database.repos.callback_registrations import (
    SqlCallbackRegistrationRepository,
)
from open_exposure_gateway.adapters.database.repos.deployments import SqlAppDeploymentRepository
from open_exposure_gateway.adapters.database.repos.operations import SqlOperationRepository
from open_exposure_gateway.adapters.database.repos.qod_sessions import SqlQodSessionRepository
from open_exposure_gateway.adapters.databus.nats_adapter import (
@@ -77,6 +78,7 @@ def _build_operation_completed_handler(
                    app_registration_repo=SqlAppRegistrationRepository(session),
                    operation_repo=SqlOperationRepository(session),
                    app_instance_repo=SqlAppInstanceRepository(session),
                    app_deployment_repo=SqlAppDeploymentRepository(session),
                    callback_registration_repo=SqlCallbackRegistrationRepository(session),
                    callback_delivery_port=callback_delivery_port,
                    callback_delivery_repo=SqlCallbackDeliveryRepository(session),