Skip to content

Commit

Permalink
Filter worker_oauth keys by platform in cli
Browse files Browse the repository at this point in the history
Signed-off-by: Ulincsys <[email protected]>
  • Loading branch information
Ulincsys committed Feb 18, 2025
1 parent 7d58dae commit e6940c6
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 e6940c6

Please sign in to comment.