summary refs log tree commit diff
path: root/src/api/routes/applications/#id
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/applications/#id')
-rw-r--r--src/api/routes/applications/#id/bot/index.ts2
-rw-r--r--src/api/routes/applications/#id/index.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/api/routes/applications/#id/bot/index.ts b/src/api/routes/applications/#id/bot/index.ts
index 1df7fba0..5eea27e9 100644
--- a/src/api/routes/applications/#id/bot/index.ts
+++ b/src/api/routes/applications/#id/bot/index.ts
@@ -114,7 +114,7 @@ router.post(
 router.patch(
 	"/",
 	route({
-		body: "BotModifySchema",
+		requestBody: "BotModifySchema",
 		responses: {
 			200: {
 				body: "Application",
diff --git a/src/api/routes/applications/#id/index.ts b/src/api/routes/applications/#id/index.ts
index dec2a9b1..c372869a 100644
--- a/src/api/routes/applications/#id/index.ts
+++ b/src/api/routes/applications/#id/index.ts
@@ -55,7 +55,7 @@ router.get(
 router.patch(
 	"/",
 	route({
-		body: "ApplicationModifySchema",
+		requestBody: "ApplicationModifySchema",
 		responses: {
 			200: {
 				body: "Application",