diff --git a/screens/repo_view_screen.py b/screens/repo_view_screen.py index 17fa511..cc81efd 100644 --- a/screens/repo_view_screen.py +++ b/screens/repo_view_screen.py @@ -112,7 +112,8 @@ class RepoViewScreen(Screen): commits_response = requests.get( self.app.GITEA_HOST + f"api/v1/repos/{self.owner_name}/{self.repo_name}/commits", params={ - "limit": 1 + "limit": 1, + "path": self.current_dir } )