Skip to content

Commit

Permalink
Merge pull request #87 from mbpictures/hotfix/orders-permission-not-w…
Browse files Browse the repository at this point in the history
…orking

hotfix/orders-permission-not-working
  • Loading branch information
mbpictures authored May 1, 2023
2 parents 914bfbb + e04b037 commit 2899358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/api/admin/order/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default async function handler(
res: NextApiResponse
) {
const user = await serverAuthenticate(req, res, {
permission: PermissionSection.EventManagement,
permission: PermissionSection.Orders,
permissionType: PermissionType.Read
});
if (!user) return;
Expand Down

0 comments on commit 2899358

Please sign in to comment.