Skip to content

Commit

Permalink
Update operation field name filtersClass
Browse files Browse the repository at this point in the history
  • Loading branch information
jolelievre committed Mar 22, 2024
1 parent e3b3fa1 commit 532d610
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/ApiPlatform/Resources/Hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
use PrestaShop\PrestaShop\Core\Domain\Hook\Exception\HookNotFoundException;
use PrestaShop\PrestaShop\Core\Domain\Hook\Query\GetHook;
use PrestaShop\PrestaShop\Core\Domain\Hook\Query\GetHookStatus;
use PrestaShop\PrestaShop\Core\Search\Filters;
use PrestaShopBundle\ApiPlatform\Metadata\CQRSGet;
use PrestaShopBundle\ApiPlatform\Metadata\CQRSUpdate;
use PrestaShopBundle\ApiPlatform\Metadata\DQBPaginatedList;
Expand Down Expand Up @@ -88,7 +87,6 @@
scopes: ['hook_read'],
ApiResourceMapping: ['[id_hook]' => '[id]'],
queryBuilder: 'prestashop.core.api.query_builder.hook',
filterClass: Filters::class,
),
],
)]
Expand Down
2 changes: 1 addition & 1 deletion src/ApiPlatform/Resources/ProductList.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
'[final_price_tax_excluded]' => '[price]',
],
queryBuilder: 'prestashop.core.grid.query_builder.product',
filterClass: ProductFilters::class,
filtersClass: ProductFilters::class,
),
],
exceptionToStatus: [
Expand Down

0 comments on commit 532d610

Please sign in to comment.