mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-14 15:16:09 -05:00
Fix weapon type in league
This commit is contained in:
@@ -43,7 +43,7 @@ async function POST(req: NextApiRequest, res: NextApiResponse) {
|
||||
z.object({
|
||||
unique_id: z.string(),
|
||||
principal_id: z.string(),
|
||||
weapon: z.string(),
|
||||
weapon: z.tuple([z.string(), z.string()]),
|
||||
})
|
||||
),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ const createResults = async (
|
||||
tag_members: {
|
||||
unique_id: string;
|
||||
principal_id: string;
|
||||
weapon: string;
|
||||
weapon: [string, string];
|
||||
}[];
|
||||
}[];
|
||||
}[]
|
||||
|
||||
Reference in New Issue
Block a user