Skip to content

Commit

Permalink
Merge pull request PrestaShop#23 from jolelievre/experimental-endpoint
Browse files Browse the repository at this point in the history
Set cart rule endpoint as experimental
  • Loading branch information
jolelievre authored Mar 28, 2024
2 parents fd1eca6 + e4b4445 commit 48377a0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ApiPlatform/Resources/CartRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@
operations: [
new CQRSUpdate(
uriTemplate: '/cart-rule',
CQRSCommand: EditCartRuleCommand::class
CQRSCommand: EditCartRuleCommand::class,
scopes: [
'cart_rule_write',
],
experimentalOperation: true,
),
],
)]
Expand Down

0 comments on commit 48377a0

Please sign in to comment.