Skip to content

Commit

Permalink
Merge pull request #792 from PrestaShopCorp/fix/739/link-provider
Browse files Browse the repository at this point in the history
[MME-739] 🐛 Fix Theme catalog page & account service load
  • Loading branch information
jinpresta authored Jan 10, 2025
2 parents bd8f3d4 + 9d89593 commit 35e23c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ services:

PrestaShop\Module\Mbo\Controller\Admin\ThemeCatalogController:
autowire: true
autoconfigure: true

PrestaShop\Module\Mbo\Controller\Admin\AddonsController:
autowire: true
2 changes: 1 addition & 1 deletion src/Accounts/Provider/AccountsDataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function getAccountsToken(): string
return '';
}

$accountsUserTokenRepository = $psAccountsModule->getService('\PrestaShop\Module\PsAccounts\Repository\UserTokenRepository');
$accountsUserTokenRepository = $psAccountsModule->getService('PrestaShop\Module\PsAccounts\Repository\UserTokenRepository');
if (!$accountsUserTokenRepository) {
return '';
}
Expand Down

0 comments on commit 35e23c0

Please sign in to comment.