diff --git a/eye/main.py b/eye/main.py index abec9d5..52f3c7e 100644 --- a/eye/main.py +++ b/eye/main.py @@ -194,13 +194,13 @@ def update_summary_data(self): def create_organization(self, organization): try: - self.organization_api_instance.register_organization(organization) + self.organization_api_instance.create_organization(organization) except Exception as e: logger.error(f"kati pige strava {e}") def delete_organization(self, organization_id): try: - self.organization_api_instance.unregister_organization(organization_id) + self.organization_api_instance.delete_organization(organization_id) except Exception as e: logger.error(f"Unable to delete {organization_id}: {e}") diff --git a/pyproject.toml b/pyproject.toml index 8c60f42..ed28dd8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,11 @@ [project] name = "eye" -version = "0.7.0" +version = "0.8.0" description = "A sample Python project" authors = [{name = "Diamantis Sellis", email = "diamantis.sellis@cosmotech.com"}] license = { text = "MIT" } dependencies = [ - "cosmotech-api==5.0.0b5", + "cosmotech-api==5.0.0-beta6", "pytest>=8.3.4", "ruff>=0.8.4", "python-keycloak~=5.8.1",