Skip to content

Commit b63901f

Browse files
committed
do not pass collection extensions to post_request_model
1 parent aeb305b commit b63901f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

stac_fastapi/pgstac/app.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@
9393
else:
9494
collections_get_request_model = EmptyRequest
9595

96-
post_request_model = create_post_request_model(
97-
extensions + collection_extensions, base_model=PgstacSearch
98-
)
96+
post_request_model = create_post_request_model(extensions, base_model=PgstacSearch)
9997
get_request_model = create_get_request_model(extensions + collection_extensions)
10098

10199
api = StacApi(

0 commit comments

Comments
 (0)