Skip to content

Commit ffc46d3

Browse files
author
Bryant Luk
committed
MAGETWO-361898: Customer-facing resources in Sales & Checkout APIs - "/mine" APIs
- Remove QuoteWebapi di.xml reference - Add use statement for ParamOverriderCustomerId
1 parent 6a4ec67 commit ffc46d3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/code/Magento/Quote/etc/di.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<type name="Magento\Webapi\Controller\Rest\ParamsOverrider">
4040
<arguments>
4141
<argument name="paramsOverrider" xsi:type="array">
42-
<item name="%cart_id%" xsi:type="object">Magento\QuoteWebapi\Model\Webapi\ParamOverriderCartId</item>
42+
<item name="%cart_id%" xsi:type="object">Magento\Quote\Model\Webapi\ParamOverriderCartId</item>
4343
</argument>
4444
</arguments>
4545
</type>

app/code/Magento/Webapi/Controller/Rest/ParamOverriderCustomerId.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
namespace Magento\Webapi\Controller\Rest;
88

99
use Magento\Authorization\Model\UserContextInterface;
10+
use Magento\Framework\Webapi\Rest\Request\ParamOverriderInterface;
1011

1112
/**
1213
* Replaces a "%customer_id%" value with the real customer id

0 commit comments

Comments
 (0)