Skip to content

Commit f69c11a

Browse files
authored
Correct path in register_update_item docstring (#507)
* Correct path in register_update_item docstring * Add #507 to changelog
1 parent 97b0911 commit f69c11a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
### Fixed
1212

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

1516
## [2.4.3]
1617

stac_fastapi/extensions/stac_fastapi/extensions/core/transaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def register_create_item(self):
7373
)
7474

7575
def register_update_item(self):
76-
"""Register update item endpoint (PUT /collections/{collection_id}/items)."""
76+
"""Register update item endpoint (PUT /collections/{collection_id}/items/{item_id})."""
7777
self.router.add_api_route(
7878
name="Update Item",
7979
path="/collections/{collection_id}/items/{item_id}",

0 commit comments

Comments
 (0)