Rename var
This commit is contained in:
parent
dea2d7f3ed
commit
46c8a1751c
1 changed files with 2 additions and 2 deletions
|
@ -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]]:
|
||||
|
|
Loading…
Reference in a new issue