Skip to content

Commit

Permalink
Update route.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
funtigr authored May 16, 2024
1 parent 4d7a7ab commit 1200e0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/api/private-cloud/products/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

0 comments on commit 1200e0d

Please sign in to comment.