Skip to content

Commit 7fd1b2a

Browse files
committed
Fix remove if statement.
1 parent 3b630f2 commit 7fd1b2a

File tree

1 file changed

+1
-1
lines changed
  • stac_fastapi/sfeos_helpers/stac_fastapi/sfeos_helpers/database

1 file changed

+1
-1
lines changed

stac_fastapi/sfeos_helpers/stac_fastapi/sfeos_helpers/database/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def remove_commands(commands: ESCommandSet, path: ElasticPath) -> None:
152152
"""
153153
if isinstance(path.key, int):
154154
commands.add(
155-
f"if ((ctx._source{path.es_nest} instanceof ArrayList"
155+
f"if (ctx._source{path.es_nest} instanceof ArrayList)"
156156
f"{{def {path.variable_name} = ctx._source{path.es_nest}.remove({path.es_key});}} else "
157157
)
158158

0 commit comments

Comments
 (0)