Skip to content

Commit 050254f

Browse files
committed
Correcting bad check command.
1 parent 0822417 commit 050254f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stac_fastapi/core/stac_fastapi/core/utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def check_commands(
202202
commands.add(
203203
f"if ((ctx._source.{path.es_location} instanceof ArrayList"
204204
f" && ctx._source.{path.es_location}.size() < {path.index})"
205-
f" || (!(ctx._source.properties.hello instanceof ArrayList)"
205+
f" || (!(ctx._source.{path.es_location} instanceof ArrayList)"
206206
f" && !ctx._source.{path.es_location}.containsKey('{path.index}')))"
207207
f"{{Debug.explain('{path.path} does not exist');}}"
208208
)

0 commit comments

Comments
 (0)