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.
1 parent 968be95 commit 9ca04efCopy full SHA for 9ca04ef
stac_fastapi/opensearch/stac_fastapi/opensearch/database_logic.py
@@ -941,7 +941,7 @@ async def json_patch_item(
941
await self.client.update(
942
index=index_alias_by_collection_id(collection_id),
943
id=mk_item_id(item_id, collection_id),
944
- script=script,
+ body={"script": script},
945
refresh=True,
946
)
947
@@ -1267,7 +1267,7 @@ async def json_patch_collection(
1267
1268
index=COLLECTIONS_INDEX,
1269
id=collection_id,
1270
1271
1272
1273
0 commit comments