diff --git a/app/game-api/src/router/betting/index.ts b/app/game-api/src/router/betting/index.ts index b1bf204..9b42d33 100644 --- a/app/game-api/src/router/betting/index.ts +++ b/app/game-api/src/router/betting/index.ts @@ -31,7 +31,7 @@ const loadWorldDate = async (db: Parameters[0]['db']) => { export const bettingRouter = router({ getList: authedProcedure - .input(z.object({ req: z.enum(['bettingNation', 'tournament']).optional() }).optional()) + .input(z.object({ req: z.literal('bettingNation').optional() }).optional()) .query(async ({ ctx, input }) => { requireUserId(ctx.auth); await getMyGeneral(ctx);