Spaces:
Sleeping
Sleeping
Aiswarya Sankar
commited on
Commit
·
41d4614
1
Parent(s):
dbd29a0
update file
Browse files
app.py
CHANGED
|
@@ -266,8 +266,9 @@ def fetchGithubIssues(**kwargs) -> Response:
|
|
| 266 |
"""
|
| 267 |
This endpoint should get a list of all the github issues that are open for this repository
|
| 268 |
"""
|
| 269 |
-
repo = repo_name
|
| 270 |
print("REPO NAME IN FETCH GITHUB ISSUES: " + str(repo))
|
|
|
|
| 271 |
batch = []
|
| 272 |
all_issues = []
|
| 273 |
per_page = 100 # Number of issues to return per page
|
|
|
|
| 266 |
"""
|
| 267 |
This endpoint should get a list of all the github issues that are open for this repository
|
| 268 |
"""
|
| 269 |
+
repo = "/".join(repo_name[:-4].split("/")[-2:])
|
| 270 |
print("REPO NAME IN FETCH GITHUB ISSUES: " + str(repo))
|
| 271 |
+
|
| 272 |
batch = []
|
| 273 |
all_issues = []
|
| 274 |
per_page = 100 # Number of issues to return per page
|