mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 19:43:16 +00:00
fix: add BulkApplicationCommandCreateSchema
This commit is contained in:
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 } });
|
||||
|
||||
Reference in new issue
Block a user