adjustment

This commit is contained in:
mrT23
2024-02-25 16:23:44 +02:00
parent 5ab69af5a7
commit 1275cf0123
2 changed files with 27 additions and 21 deletions

View File

@ -46,7 +46,7 @@ class GithubProvider(GitProvider):
return True
def get_pr_url(self) -> str:
return f"https://github.com/{self.repo}/pull/{self.pr_num}"
return self.pr.html_url
def set_pr(self, pr_url: str):
self.repo, self.pr_num = self._parse_pr_url(pr_url)