Skip to content

Commit

Permalink
fixed list models in model_cmd.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KatHellg authored Jan 23, 2025
1 parent 28bdaa1 commit 3d6e7ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fedn/cli/model_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def list_models(ctx, protocol: str, host: str, port: str, token: str = None, ses
protocol=protocol, host=host, port=port, endpoint=f"models/?session_id={session_id}", token=token, headers=headers, usr_api=False, usr_token=False
)
else:
response = get_response(protocol=protocol, host=host, port=port, endpoint="models", token=token, headers=headers, usr_api=False, usr_token=False)
response = get_response(protocol=protocol, host=host, port=port, endpoint="models/", token=token, headers=headers, usr_api=False, usr_token=False)
print_response(response, "models", None)


Expand Down

0 comments on commit 3d6e7ec

Please sign in to comment.