Skip to content

Commit

Permalink
syntax error in sql
Browse files Browse the repository at this point in the history
  • Loading branch information
ABrain7710 committed Oct 15, 2024
1 parent 4522248 commit e61a071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion augur/tasks/github/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def _collect_and_process_pr_events(self, owner, repo, repo_id, key_auth):
with engine.connect() as connection:

query = text(f"""
select pull_request_id, pr_src_number as gh_pr_number, pr_src_id from pull_requests order by pr_created_at desc; from pull_requests WHERE repo_id={repo_id} order by pr_created_at desc;
select pull_request_id, pr_src_number as gh_pr_number, pr_src_id from pull_requests WHERE repo_id={repo_id} order by pr_created_at desc;
""")

pr_result = connection.execute(query).fetchall()
Expand Down

0 comments on commit e61a071

Please sign in to comment.