Skip to content

Commit

Permalink
Merge pull request #329 from tekktrik/fix/response-error
Browse files Browse the repository at this point in the history
Fix adabout error with labelling draft PRs
  • Loading branch information
dhalbert authored Dec 17, 2022
2 parents 43c5dc5 + 93ce7fa commit 85a9103
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adabot/lib/circuitpython_library_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -1141,8 +1141,8 @@ def gather_insights(self, repo, insights, since, show_closed_metric=False):
days_open += datetime.timedelta(days=(days_open.days * -1))
if "pull_request" in issue:
pull_request = gh_reqs.get(
f"/repos/{repo['full_name']}/pulls/{issue['id']}"
)
f"/repos/{repo['full_name']}/pulls/{issue['number']}"
).json()
pr_link = "{0} (Open {1} days)".format(
issue["pull_request"]["html_url"], days_open.days
)
Expand Down

0 comments on commit 85a9103

Please sign in to comment.