Fix /admin/product-types v2 endpoint (#7112)

This commit is contained in:
josetr
2024-04-22 08:58:57 +01:00
committed by GitHub
parent f62de56b63
commit 0f5b015df0

View File

@@ -20,7 +20,7 @@ export const GET = async (
) => {
const remoteQuery = req.scope.resolve(ContainerRegistrationKeys.REMOTE_QUERY)
const queryObject = remoteQueryObjectFromString({
entryPoint: "product",
entryPoint: "product_type",
variables: {
filters: req.filterableFields,
...req.remoteQueryConfig.pagination,