Skip to content

Commit fb6fe82

Browse files
committed
Opensearch update body.
1 parent 1c4fe43 commit fb6fe82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stac_fastapi/opensearch/stac_fastapi/opensearch/database_logic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ async def json_patch_item(
10151015
await self.client.update(
10161016
index=index_by_collection_id(collection_id),
10171017
id=mk_item_id(item_id, collection_id),
1018-
script=script,
1018+
body={"script": script},
10191019
refresh=True,
10201020
)
10211021

0 commit comments

Comments
 (0)