Skip to content

Commit cbaded8

Browse files
committed
DiscountCondition\IsInCategory: Use integers instead of strings
1 parent f5107d4 commit cbaded8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api/rest_api/rest_api_reference/input/examples/discounts/POST/DiscountCreate.json.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"conditions": [
2323
{
2424
"class": "Ibexa\\Discounts\\Value\\DiscountCondition\\IsInCategory",
25-
"parameters": [["1", "2"]]
25+
"parameters": [[1, 2]]
2626
}
2727
]
2828
}

docs/api/rest_api/rest_api_reference/input/examples/discounts/identifier/PATCH/DiscountUpdate.json.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"conditions": [
55
{
66
"class": "Ibexa\\Discounts\\Value\\DiscountCondition\\IsInCategory",
7-
"parameters": [["1", "3"]]
7+
"parameters": [[1, 3]]
88
}
99
]
1010
}

0 commit comments

Comments
 (0)