Skip to content

Commit

Permalink
fix input
Browse files Browse the repository at this point in the history
  • Loading branch information
wistefan committed May 30, 2024
1 parent d8cabcc commit 60ef5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/rego/ngsi-ld/leftOperand.rego
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type_from_path(path) := tfe if {
query := split(path, "?")[1]
query_parts := split(query, "&")
type_query := [query_part | some query_part in query_parts; contains(query_part, "type=")]
tfq = split(type_query, "=")[1]
tfq = split(type_query[0], "=")[1]
}

# helper to retrieve the type from the body
Expand Down

0 comments on commit 60ef5fc

Please sign in to comment.