fix: add BulkApplicationCommandCreateSchema

This commit is contained in:
CyberL1 2025-10-22 18:00:00 +02:00
parent 8153254b7d
commit 5ad1cb46ca
4 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -99,7 +99,7 @@ router.post(
router.put(
"/",
route({
// requestBody: "ApplicationCommandCreateSchema", // How to make this array?
requestBody: "BulkApplicationCommandCreateSchema",
}),
async (req: Request, res: Response) => {
const applicationExists = await Application.exists({ where: { id: req.params.application_id } });

View File

@ -123,7 +123,7 @@ router.post(
router.put(
"/",
route({
// requestBody: "ApplicationCommandCreateSchema", // How to make this array?
requestBody: "BulkApplicationCommandCreateSchema",
}),
async (req: Request, res: Response) => {
const applicationExists = await Application.exists({ where: { id: req.params.application_id } });