Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RODO94 committed Oct 31, 2024
1 parent d0f1e16 commit 78d52c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion api.planx.uk/modules/auth/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,11 @@ export const useTeamViewerAuth = useRoleAuth([
"teamEditor",
"platformAdmin",
]);
export const useTeamEditorAuth = useRoleAuth(["teamEditor", "platformAdmin", "demoUser"]);
export const useTeamEditorAuth = useRoleAuth([
"teamEditor",
"platformAdmin",
"demoUser",
]);
export const usePlatformAdminAuth = useRoleAuth(["platformAdmin"]);

/**
Expand Down

0 comments on commit 78d52c6

Please sign in to comment.