Skip to content

Commit

Permalink
Merge pull request #2553 from chaoss/null-cntrb-id-fix
Browse files Browse the repository at this point in the history
Fix null cntrb id errors in issue closed cntrb update
  • Loading branch information
sgoggins authored Oct 20, 2023
2 parents 1962a81 + 386a32c commit 968aa0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion augur/tasks/github/events/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def update_issue_closed_cntrbs_from_events(engine, repo_id):
WHERE "action" = 'closed'
)
SELECT issue_id, cntrb_id from RankedIssues where rn=1 and repo_id={repo_id}
SELECT issue_id, cntrb_id from RankedIssues where rn=1 and repo_id={repo_id} and cntrb_id is not NULL
""")
result = engine.execute(get_ranked_issues).fetchall()

Expand Down

0 comments on commit 968aa0b

Please sign in to comment.