Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ class GitHubAPI:
|
|
111 |
def get_issues(self, owner: str, repo: str, state: str = 'open') -> List[Dict]:
|
112 |
"""Fetch repository issues"""
|
113 |
if not self._check_rate_limit():
|
114 |
-
|
115 |
|
116 |
try:
|
117 |
response = requests.get(f"{self.base_url}/repos/{owner}/{repo}/issues", headers=self.headers, params={'state': state})
|
|
|
111 |
def get_issues(self, owner: str, repo: str, state: str = 'open') -> List[Dict]:
|
112 |
"""Fetch repository issues"""
|
113 |
if not self._check_rate_limit():
|
114 |
+
return []
|
115 |
|
116 |
try:
|
117 |
response = requests.get(f"{self.base_url}/repos/{owner}/{repo}/issues", headers=self.headers, params={'state': state})
|