acecalisto3 commited on
Commit
d622bbe
·
verified ·
1 Parent(s): f2ae4ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- return []
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})