From 1c4777b0311d64e22b671e8cc575b7205a241ab6 Mon Sep 17 00:00:00 2001 From: Daniel Ebrahimian Date: Mon, 4 Mar 2024 17:39:49 +1100 Subject: [PATCH] Remove trailing slash from repository lookup (#3) --- release_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release_manager.py b/release_manager.py index ee62248..85b8179 100644 --- a/release_manager.py +++ b/release_manager.py @@ -119,7 +119,7 @@ def get_latest_release_tag(self) -> Optional[str]: return response.json()["tag_name"] def get_default_branch(self) -> str: - url = f"https://api.github.com/repos/{self._REPO}/" + url = f"https://api.github.com/repos/{self._REPO}" response = requests.get(url, headers=self._headers) response.raise_for_status() data = response.json()