File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/code/Meta/BusinessExtension/Model Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 22
22
23
23
use GuzzleHttp \Exception \GuzzleException ;
24
24
use Magento \Framework \Exception \LocalizedException ;
25
+ use Magento \Framework \UrlInterface ;
25
26
use Magento \Store \Model \ScopeInterface ;
26
27
use Magento \Store \Model \StoreManagerInterface ;
27
28
use Meta \BusinessExtension \Helper \CatalogConfigUpdateHelper ;
@@ -342,7 +343,7 @@ public function repairCommercePartnerIntegration($storeId): bool
342
343
$ accessToken = $ this ->systemConfig ->getAccessToken ($ storeId );
343
344
$ externalBusinessId = $ this ->systemConfig ->getExternalBusinessId ($ storeId );
344
345
$ customToken = $ this ->apiKeyService ->getCustomApiKey ();
345
- $ domain = $ this ->storeManager ->getStore ($ storeId )->getBaseUrl ();
346
+ $ domain = $ this ->storeManager ->getStore ($ storeId )->getBaseUrl (UrlInterface:: URL_TYPE_WEB );
346
347
$ seller_platform_type = $ this ->adobeConfig ->getCommercePartnerSellerPlatformType ();
347
348
$ extensionVersion = $ this ->systemConfig ->getModuleVersion ();
348
349
You can’t perform that action at this time.
0 commit comments