diff --git a/autoupdate_app_sources/rest_api.py b/autoupdate_app_sources/rest_api.py index 22374bb..9da6751 100644 --- a/autoupdate_app_sources/rest_api.py +++ b/autoupdate_app_sources/rest_api.py @@ -118,7 +118,6 @@ class GiteaForgejoAPI: split = re.search("(?Phttps?://.+)/(?P[^/]+)/(?P[^/]+)/?$", upstream) self.upstream = split.group("host") self.upstream_repo = f"{split.group('group')}/{split.group('project')}" - self.project_id = self.find_project_id(self.upstream_repo) def internal_api(self, uri: str): url = f"{self.upstream}/api/v1/{uri}"