We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4eed08a commit 2d425fcCopy full SHA for 2d425fc
1 file changed
src/shared/clients/jit.py
@@ -98,7 +98,7 @@ def delete_teams(token, team_names):
98
break
99
100
# We only delete teams that are manually created
101
- if team_id and selected_team and selected_team['source'] == MANUAL_TEAM_SOURCE:
+ if team_id and selected_team and selected_team.source == MANUAL_TEAM_SOURCE:
102
url = f"{get_jit_endpoint_base_url()}/teams/{team_id}"
103
headers = {"Authorization": f"Bearer {token}"}
104
0 commit comments