Skip to content

Commit 455e362

Browse files
authored
Merge branch 'main' into add-catalog-route
2 parents 8b20bd5 + f99c6e6 commit 455e362

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1515

1616
### Fixed
1717

18+
- Fix unawaited coroutine in `stac_fastapi.core.core`. [#551](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/551)
19+
1820
### Removed
1921

2022
### Updated

stac_fastapi/core/stac_fastapi/core/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ async def post_search(
786786

787787
body_limit = None
788788
try:
789-
if request.method == "POST" and request.body():
789+
if request.method == "POST" and await request.body():
790790
body_data = await request.json()
791791
body_limit = body_data.get("limit")
792792
except Exception:

0 commit comments

Comments
 (0)