Skip to content

Commit

Permalink
Merge pull request #68 from LUS24/patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
jslvtr authored Oct 3, 2022
2 parents b35fa92 + 004fcd4 commit e2afdca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/01-first-rest-api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def create_item():

@app.get("/item")
def get_all_items():
return {"items": list(items.value())}
return {"items": list(items.values())}


@app.get("/store/<string:id>")
Expand All @@ -54,4 +54,4 @@ def create_store():

@app.get("/store")
def get_stores():
return {"stores": list(stores.value())}
return {"stores": list(stores.values())}

1 comment on commit e2afdca

@vercel
Copy link

@vercel vercel bot commented on e2afdca Oct 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.