diff options
author | Puyodead1 <puyodead@proton.me> | 2023-03-24 18:14:47 -0400 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2023-04-13 15:20:10 -0400 |
commit | 6b3a3b750f3e29b491c51f8199efd64c05176a65 (patch) | |
tree | 2f15670152c3fb99630c648a86dd63e0a0b86b74 /src/api/routes/applications/#id | |
parent | AAA (diff) | |
download | server-6b3a3b750f3e29b491c51f8199efd64c05176a65.tar.xz |
fixing lots of openapi crap
Diffstat (limited to 'src/api/routes/applications/#id')
-rw-r--r-- | src/api/routes/applications/#id/bot/index.ts | 2 | ||||
-rw-r--r-- | src/api/routes/applications/#id/index.ts | 2 |
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", |