fix: add BulkApplicationCommandCreateSchema
This commit is contained in:
parent
8153254b7d
commit
5ad1cb46ca
Binary file not shown.
Binary file not shown.
@ -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 } });
|
||||
|
||||
Reference in New Issue
Block a user