From e6940c6b99cb60298cb51a76e4c35dd1c0c7afe3 Mon Sep 17 00:00:00 2001 From: Ulincsys Date: Tue, 18 Feb 2025 12:51:26 -0600 Subject: [PATCH] Filter worker_oauth keys by platform in cli Signed-off-by: Ulincsys --- augur/application/cli/github.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/augur/application/cli/github.py b/augur/application/cli/github.py index cad13be79..4896bf05f 100644 --- a/augur/application/cli/github.py +++ b/augur/application/cli/github.py @@ -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; """ )