We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f355bd1 + f99c6e6 commit 30c7e83Copy full SHA for 30c7e83
CHANGELOG.md
@@ -14,6 +14,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
14
15
### Fixed
16
17
+- Fix unawaited coroutine in `stac_fastapi.core.core`. [#551](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/551)
18
+
19
### Removed
20
21
### Updated
stac_fastapi/core/stac_fastapi/core/core.py
@@ -759,7 +759,7 @@ async def post_search(
759
760
body_limit = None
761
try:
762
- if request.method == "POST" and request.body():
+ if request.method == "POST" and await request.body():
763
body_data = await request.json()
764
body_limit = body_data.get("limit")
765
except Exception:
0 commit comments