Only return open issues
This commit is contained in:
parent
162b92fae2
commit
e9d22e69c9
|
@ -17,7 +17,7 @@ combined = {}
|
||||||
def get_combined(token):
|
def get_combined(token):
|
||||||
for q in ("assigned", "review_requested"):
|
for q in ("assigned", "review_requested"):
|
||||||
req = urllib.request.Request(GITEA_REPO_URL
|
req = urllib.request.Request(GITEA_REPO_URL
|
||||||
+ f"/repos/issues/search?{q}=true")
|
+ f"/repos/issues/search?state=open&{q}=true")
|
||||||
req.add_header("Accept", "application/json")
|
req.add_header("Accept", "application/json")
|
||||||
req.add_header("Content-Type", "application/json")
|
req.add_header("Content-Type", "application/json")
|
||||||
req.add_header("Authorization", "token " + token)
|
req.add_header("Authorization", "token " + token)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user