diff --git a/src/main/python/ddadevops/domain/release.py b/src/main/python/ddadevops/domain/release.py index 99fa091..490db9b 100644 --- a/src/main/python/ddadevops/domain/release.py +++ b/src/main/python/ddadevops/domain/release.py @@ -93,8 +93,8 @@ class Release(Validateable): repository = self.release_repository_name.removeprefix("/").removesuffix("/") return f"{server_url}/api/v1/repos/{organisation}/{repository}/releases" - def forgejo_release_asset_api_endpoint(self, id: int) -> str: - return f"{self.forgejo_release_api_endpoint()}/{id}/assets" + def forgejo_release_asset_api_endpoint(self, release_id: int) -> str: + return f"{self.forgejo_release_api_endpoint()}/{release_id}/assets" @classmethod def get_mapping_default(cls) -> List[Dict[str, str]]: