Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Oct 31, 2023
1 parent f4ef32e commit 6387c27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/user_guide/factories.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Factory:
request: Request,
collection=Depends(self.collection_dependency),
):
item_list = collection.items(...)
item_list = collection.features(...)
...

@self.router.get("/collections/{collectionId}/items/{itemId}")
Expand All @@ -45,7 +45,7 @@ class Factory:
collection=Depends(self.collection_dependency),
itemId: str = Path(..., description="Item identifier"),
):
item_list = collection.items(item_id=[itemId])
item_list = collection.features(ids_filter=[itemId])
...


Expand Down

0 comments on commit 6387c27

Please sign in to comment.