Skip to content

Commit

Permalink
Merge pull request #3005 from chaoss/cli_api_key_hotfix
Browse files Browse the repository at this point in the history
Filter worker_oauth keys by platform in cli
  • Loading branch information
sgoggins authored Feb 18, 2025
2 parents 7d58dae + e6940c6 commit e308fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion augur/application/cli/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def update_api_key():
"""
SELECT value as github_key from config Where section_name='Keys' AND setting_name='github_api_key'
UNION All
SELECT access_token as github_key from worker_oauth ORDER BY github_key DESC;
SELECT access_token as github_key from worker_oauth where platform='github' ORDER BY github_key DESC;
"""
)

Expand Down

0 comments on commit e308fac

Please sign in to comment.