Skip to content

Commit

Permalink
fix: variants AQL query
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun-KumarH committed Apr 21, 2024
1 parent 82d65e7 commit 858533e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter_variants.aql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
let variants = node.product.variants
let found = (
for variant in variants
filter variant.id == @variantIDValue
filter variant.id == @customArguments.variantIDValue
limit 1
return true
)
Expand Down

0 comments on commit 858533e

Please sign in to comment.