diff --git a/integrations/jira/pyproject.toml b/integrations/jira/pyproject.toml index 8a6e902c23..3e254ffb87 100644 --- a/integrations/jira/pyproject.toml +++ b/integrations/jira/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "jira" -version = "0.1.89-dev051" +version = "0.1.89-dev052" description = "Integration to bring information from Jira into Port" authors = ["Mor Paz "] diff --git a/port_ocean/ocean.py b/port_ocean/ocean.py index 1c9d6c1a31..73d809e913 100644 --- a/port_ocean/ocean.py +++ b/port_ocean/ocean.py @@ -66,12 +66,13 @@ async def lifecycle(_: FastAPI) -> AsyncIterator[None]: *self.config.get_sensitive_fields_data() ) self.integration_router = integration_router or APIRouter() - self.fast_api_app.include_router(self.integration_router, prefix="/integration") @self.integration_router.post("/webhook") async def handle_webhook_request(data: dict[str, Any]) -> dict[str, Any]: return {"ok": True} + self.fast_api_app.include_router(self.integration_router, prefix="/integration") + self.port_client = PortClient( base_url=self.config.port.base_url, client_id=self.config.port.client_id,