diff --git a/app/actions.ts b/app/actions.ts index 6986194..4d73945 100644 --- a/app/actions.ts +++ b/app/actions.ts @@ -210,7 +210,7 @@ export async function saveTournamentMatches( abbreviation: formData.get('tournamentAbbreviation'), forumUrl: formData.get('forumPostURL'), rankRangeLowerBound: parseInt(formData.get('rankRestriction')), - format: parseInt(formData.get('teamSize')), + lobbySize: parseInt(formData.get('teamSize')), ruleset: parseInt(formData.get('gameMode')), ids: matchIDs, }); diff --git a/lib/types.ts b/lib/types.ts index 196fb72..a266834 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -48,7 +48,7 @@ export const MatchesSubmitFormSchema = z.object({ .min(1), ]), rankRangeLowerBound: z.number().min(1), - format: z.number().min(1).max(8), + lobbySize: z.number().min(1).max(8), ruleset: z.number().min(0).max(5), ids: z .array(