Fix weapon type in league

This commit is contained in:
Kalle (Sendou) 2021-05-23 19:09:11 +03:00
parent a949d5d2c4
commit 2ec1f991ee
2 changed files with 2 additions and 2 deletions

View File

@ -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()]),
})
),
})

View File

@ -28,7 +28,7 @@ const createResults = async (
tag_members: {
unique_id: string;
principal_id: string;
weapon: string;
weapon: [string, string];
}[];
}[];
}[]