Skip to content

Commit 30c7e83

Browse files
authored
Merge branch 'main' into CAT-1622
2 parents f355bd1 + f99c6e6 commit 30c7e83

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
@@ -14,6 +14,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1414

1515
### Fixed
1616

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

1921
### Updated

stac_fastapi/core/stac_fastapi/core/core.py

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

760760
body_limit = None
761761
try:
762-
if request.method == "POST" and request.body():
762+
if request.method == "POST" and await request.body():
763763
body_data = await request.json()
764764
body_limit = body_data.get("limit")
765765
except Exception:

0 commit comments

Comments
 (0)