Skip to content

Commit

Permalink
fix / causing delete variant to fail in cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
devgenix committed Dec 25, 2023
1 parent bbc2c8c commit da554d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agenta-cli/agenta/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def remove_variant(variant_id: str, host: str, api_key: str = None):
None
"""
response = requests.delete(
f"{host}/{BACKEND_URL_SUFFIX}/variants/{variant_id}",
f"{host}/{BACKEND_URL_SUFFIX}/variants/{variant_id}/",
headers={
"Content-Type": "application/json",
"Authorization": api_key if api_key is not None else None,
Expand Down

0 comments on commit da554d2

Please sign in to comment.