Skip to content

Commit

Permalink
Merge pull request #462 from github/jm_fix_created_at
Browse files Browse the repository at this point in the history
fix: use correct created_at issue api attribute
  • Loading branch information
jmeridth authored Jan 27, 2025
2 parents cbd995c + e07414f commit c7e97e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion issue_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def get_per_issue_metrics(
elif issue.state == "open": # type: ignore
num_issues_open += 1
if not env_vars.hide_created_at:
issue_with_metrics.created_at = issue["createdAt"]
issue_with_metrics.created_at = issue["created_at"]
issues_with_metrics.append(issue_with_metrics)

return issues_with_metrics, num_issues_open, num_issues_closed
Expand Down

0 comments on commit c7e97e2

Please sign in to comment.