From 46c8a1751c77672c77fa846ff3ac3a7fdff599a3 Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 16 Aug 2023 12:09:06 +0200 Subject: [PATCH] Rename var --- src/main/python/ddadevops/domain/release.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]]: