Skip to content

Commit

Permalink
Correct path in register_update_item docstring (#507)
Browse files Browse the repository at this point in the history
* Correct path in register_update_item docstring

* Add #507 to changelog
  • Loading branch information
bmcandr authored Dec 22, 2022
1 parent 97b0911 commit f69c11a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
### Fixed

* Allow url encoded values for `query` in GET requests ([#504](https://github.com/stac-utils/stac-fastapi/pull/504))
* Fix path in `register_update_item` docstring ([507](https://github.com/stac-utils/stac-fastapi/pull/507))

## [2.4.3]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def register_create_item(self):
)

def register_update_item(self):
"""Register update item endpoint (PUT /collections/{collection_id}/items)."""
"""Register update item endpoint (PUT /collections/{collection_id}/items/{item_id})."""
self.router.add_api_route(
name="Update Item",
path="/collections/{collection_id}/items/{item_id}",
Expand Down

0 comments on commit f69c11a

Please sign in to comment.