Skip to content

Commit a81d465

Browse files
committed
fix: updating map state to use ItemSelector instead of parameters for CheckImageIntegrity
1 parent 6e95759 commit a81d465

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Unicorn.Properties/StateMachine/PropertyApproval.asl.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ States:
2828

2929
CheckImageIntegrity:
3030
Type: Map
31-
Parameters:
32-
ImageName.$: "$$.Map.Item.Value"
3331
Iterator:
3432
StartAt: CheckForUnsafeContentInImages
3533
States:
@@ -47,6 +45,8 @@ States:
4745
Loop through all the images for the property and ensure they don't have
4846
unsafe content.
4947
ItemsPath: "$.detail.images"
48+
ItemSelector:
49+
ImageName.$: "$$.Map.Item.Value"
5050
ResultPath: "$.ImageModerations"
5151

5252
CheckDescriptionSentiment:

0 commit comments

Comments
 (0)