aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/exts/grafana/github_team_sync.py
diff options
context:
space:
mode:
Diffstat (limited to 'arthur/exts/grafana/github_team_sync.py')
-rw-r--r--arthur/exts/grafana/github_team_sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/arthur/exts/grafana/github_team_sync.py b/arthur/exts/grafana/github_team_sync.py
index 873c6c4..6e77a55 100644
--- a/arthur/exts/grafana/github_team_sync.py
+++ b/arthur/exts/grafana/github_team_sync.py
@@ -38,7 +38,7 @@ class GrafanaGitHubTeamSync(commands.Cog):
for grafana_user in all_grafana_users:
if grafana_user["login"] not in missing_members:
continue
- if grafana_user.get("auth_module") != "oauth_github":
+ if "GitHub" not in grafana_user.get("authLabels", []):
continue
await grafana.add_user_to_team(