mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-07-17 09:26:20 -05:00
Fix weapon type in league
This commit is contained in:
parent
a949d5d2c4
commit
2ec1f991ee
|
|
@ -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];
|
||||
}[];
|
||||
}[];
|
||||
}[]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user