Skip to content

Commit

Permalink
fix: Select first item in search query results
Browse files Browse the repository at this point in the history
  • Loading branch information
antidodo committed Apr 23, 2024
1 parent 5b0bbb0 commit 9e5709b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def _create_keycloak_client(admin_token: str, analysis_id: str) -> None:
headers = {"Authorization": f"Bearer {admin_token}", "Content-Type": "application/json"}
client_data = {"clientId": analysis_id}

response = requests.post(url_create_client, headers=headers, data=client_data)
response = requests.post(url_create_client, headers=headers, json=client_data)
response.raise_for_status()


Expand Down

0 comments on commit 9e5709b

Please sign in to comment.