summary refs log tree commit diff
path: root/src/api/routes/applications
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/applications')
-rw-r--r--src/api/routes/applications/#application_id/bot/index.ts6
-rw-r--r--src/api/routes/applications/#application_id/index.ts6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/api/routes/applications/#application_id/bot/index.ts b/src/api/routes/applications/#application_id/bot/index.ts

index db1d02538..98eafea7c 100644 --- a/src/api/routes/applications/#application_id/bot/index.ts +++ b/src/api/routes/applications/#application_id/bot/index.ts
@@ -39,7 +39,7 @@ router.post( 204: { body: "TokenOnlyResponse", }, - 400: { + "4XX": { body: "APIErrorResponse", }, }, @@ -68,7 +68,7 @@ router.post( 200: { body: "TokenResponse", }, - 400: { + "4XX": { body: "APIErrorResponse", }, }, @@ -104,7 +104,7 @@ router.patch( 200: { body: "Application", }, - 400: { + "4XX": { body: "APIErrorResponse", }, }, diff --git a/src/api/routes/applications/#application_id/index.ts b/src/api/routes/applications/#application_id/index.ts
index 6701f867c..09e458c8e 100644 --- a/src/api/routes/applications/#application_id/index.ts +++ b/src/api/routes/applications/#application_id/index.ts
@@ -37,7 +37,7 @@ router.get( 200: { body: "Application", }, - 400: { + "4XX": { body: "APIErrorResponse", }, }, @@ -62,7 +62,7 @@ router.patch( 200: { body: "Application", }, - 400: { + "4XX": { body: "APIErrorResponse", }, }, @@ -128,7 +128,7 @@ router.post( route({ responses: { 200: {}, - 400: { + "4XX": { body: "APIErrorResponse", }, },