diff options
| author | 2024-07-30 02:33:52 +0100 | |
|---|---|---|
| committer | 2024-07-30 02:33:52 +0100 | |
| commit | 6b1c30b2cdc01a717dfa898a9e1be004a726b48d (patch) | |
| tree | 209585e0836028d27da1163c408653b32a54ed8b /arthur/apis/grafana/teams.py | |
| parent | Update filters in LDAP and GitHub Grafana team syncers (diff) | |
Update endpoint used to fetch all users
Diffstat (limited to 'arthur/apis/grafana/teams.py')
| -rw-r--r-- | arthur/apis/grafana/teams.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/arthur/apis/grafana/teams.py b/arthur/apis/grafana/teams.py index cea2d5f..c058108 100644 --- a/arthur/apis/grafana/teams.py +++ b/arthur/apis/grafana/teams.py @@ -49,7 +49,7 @@ async def remove_user_from_team(  async def get_all_users(session: aiohttp.ClientSession) -> list[dict[str, str]]:      """Get all Grafana users.""" -    endpoint = CONFIG.grafana_url + "/api/org/users/lookup" +    endpoint = CONFIG.grafana_url + "/api/org/users"      async with session.get(endpoint, headers=AUTH_HEADER) as response:          response.raise_for_status()          return await response.json() | 
