diff --git a/CHANGELOG.md b/CHANGELOG.md index a842edb..c789a96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,28 @@ > As of v1.4.0, release candidates will be published in an effort to get new features out faster while still allowing > time for full QA testing before moving the release candidate to a full release. +## v2.3.1 [2025-12-08] + +__What's New:__ + +* None + +__Enhancements:__ + +* None + +__Bug Fixes:__ + +* Removed trailing slashes in urls + +__Dependencies:__ + +* None + +__Other:__ + +* None + ## v2.3.0 [2025-10-16] __What's New:__ diff --git a/src/pybritive/__init__.py b/src/pybritive/__init__.py index 8219039..1c4ddd3 100644 --- a/src/pybritive/__init__.py +++ b/src/pybritive/__init__.py @@ -1 +1 @@ -__version__ = '2.3.0' +__version__ = '2.3.1' diff --git a/src/pybritive/britive_cli.py b/src/pybritive/britive_cli.py index 48a6705..e8b7e65 100644 --- a/src/pybritive/britive_cli.py +++ b/src/pybritive/britive_cli.py @@ -612,7 +612,7 @@ def _get_app_type(self, application_id): return next( iter( a['catalogAppName'] - for a in self.b.get(f'{self.b.base_url}/access/apps/') + for a in self.b.get(f'{self.b.base_url}/access/apps') if a['appContainerId'] == application_id ) ) @@ -1303,14 +1303,14 @@ def _convert_names_to_ids(self, profile_name: str, environment_name: str, applic app_id = next( iter( a['appContainerId'] - for a in self.b.get(f'{self.b.base_url}/access/apps/') + for a in self.b.get(f'{self.b.base_url}/access/apps') if a['catalogAppDisplayName'].lower() == application_name ) ) env_id = next( iter( e['environmentId'] - for e in self.b.get(f'{self.b.base_url}/access/apps/{app_id}/environments/') + for e in self.b.get(f'{self.b.base_url}/access/apps/{app_id}/environments') if e['environmentName'].lower() == environment_name or e['environmentId'] == environment_name or e['alternateEnvironmentName'].lower() == environment_name