diff --git a/api.planx.uk/modules/auth/middleware.ts b/api.planx.uk/modules/auth/middleware.ts index 08c9a69e7a..2443f0dace 100644 --- a/api.planx.uk/modules/auth/middleware.ts +++ b/api.planx.uk/modules/auth/middleware.ts @@ -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"]); /**