mirror of
https://github.com/spacebarchat/server.git
synced 2026-06-04 23:51:46 +00:00
fix: add BulkApplicationCommandCreateSchema
This commit is contained in:
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