update admin

This commit is contained in:
yohlo
2025-09-29 15:49:18 -05:00
parent 9564b46d45
commit 5094933302

View File

@@ -74,7 +74,7 @@ export const unenrollTeam = createServerFn()
tournamentId: z.string(),
teamId: z.string()
}))
.middleware([superTokensAdminFunctionMiddleware])
.middleware([superTokensFunctionMiddleware])
.handler(async ({ data: { tournamentId, teamId }, context }) =>
toServerResult(() => pbAdmin.unenrollTeam(tournamentId, teamId))
);