fix: add BulkApplicationCommandCreateSchema

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

No files matched your search

@@ -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 } });
@@ -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 } });