diff --git a/app/api/private-cloud/products/route.ts b/app/api/private-cloud/products/route.ts index 1e263c137..5c9068371 100644 --- a/app/api/private-cloud/products/route.ts +++ b/app/api/private-cloud/products/route.ts @@ -13,9 +13,9 @@ export const POST = createApiHandler({ }); export const GET = createApiHandler({ - roles: ['user'], + roles: [], validations: {}, -})(async ({ session }) => { - const data = await listOp({ session }); +})(async () => { + const data = await listOp(); return OkResponse(data); });