Skip to content

Commit f2da9c5

Browse files
committed
fix for openserach
1 parent 60d517f commit f2da9c5

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
@@ -924,7 +924,7 @@ async def json_patch_item(
924924
await self.client.update(
925925
index=document_index,
926926
id=mk_item_id(item_id, collection_id),
927-
script=script,
927+
body={"script": script},
928928
refresh=True,
929929
)
930930
except exceptions.NotFoundError:

0 commit comments

Comments
 (0)