1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/routes/oauth2/authorize.ts b/src/api/routes/oauth2/authorize.ts
index 54891a51c..67b0713f3 100644
--- a/src/api/routes/oauth2/authorize.ts
+++ b/src/api/routes/oauth2/authorize.ts
@@ -44,7 +44,7 @@ router.get(
responses: {
// TODO: I really didn't feel like typing all of it out
200: {},
- 400: {
+ "4XX": {
body: "APIErrorResponse",
},
404: {
@@ -181,7 +181,7 @@ router.post(
200: {
body: "OAuthAuthorizeResponse",
},
- 400: {
+ "4XX": {
body: "APIErrorResponse",
},
403: {
|