Skip to content

Commit

Permalink
fix resource list in CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
majsan committed Feb 6, 2024
1 parent 1cce55e commit fe5acf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion karp-backend/src/karp/cliapp/subapps/resource_subapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def list_resources( # noqa: ANN201, D103
tabulate(
[
[resource.resource_id, resource.version, resource.is_published]
for resource in query.query()
for resource in result
],
headers=["resource_id", "version", "published"],
)
Expand Down

0 comments on commit fe5acf4

Please sign in to comment.