summary refs log tree commit diff
path: root/src/api/routes/webhooks
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/webhooks')
-rw-r--r--src/api/routes/webhooks/#webhook_id/#token/github.ts2
-rw-r--r--src/api/routes/webhooks/#webhook_id/#token/index.ts6
-rw-r--r--src/api/routes/webhooks/#webhook_id/index.ts4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/api/routes/webhooks/#webhook_id/#token/github.ts b/src/api/routes/webhooks/#webhook_id/#token/github.ts

index eb9ec4254..4f84b9721 100644 --- a/src/api/routes/webhooks/#webhook_id/#token/github.ts +++ b/src/api/routes/webhooks/#webhook_id/#token/github.ts
@@ -541,7 +541,7 @@ router.post( }, responses: { 204: {}, - 400: { + "4XX": { body: "APIErrorResponse", }, 404: {}, diff --git a/src/api/routes/webhooks/#webhook_id/#token/index.ts b/src/api/routes/webhooks/#webhook_id/#token/index.ts
index fd9b8c36b..5a45b733b 100644 --- a/src/api/routes/webhooks/#webhook_id/#token/index.ts +++ b/src/api/routes/webhooks/#webhook_id/#token/index.ts
@@ -99,7 +99,7 @@ router.post( }, responses: { 204: {}, - 400: { + "4XX": { body: "APIErrorResponse", }, 404: {}, @@ -113,7 +113,7 @@ router.delete( route({ responses: { 204: {}, - 400: { + "4XX": { body: "APIErrorResponse", }, 404: {}, @@ -160,7 +160,7 @@ router.patch( 200: { body: "Message", }, - 400: { + "4XX": { body: "APIErrorResponse", }, 403: {}, diff --git a/src/api/routes/webhooks/#webhook_id/index.ts b/src/api/routes/webhooks/#webhook_id/index.ts
index 878985ee2..31ac764cc 100644 --- a/src/api/routes/webhooks/#webhook_id/index.ts +++ b/src/api/routes/webhooks/#webhook_id/index.ts
@@ -66,7 +66,7 @@ router.delete( route({ responses: { 204: {}, - 400: { + "4XX": { body: "APIErrorResponse", }, 404: {}, @@ -122,7 +122,7 @@ router.patch( 200: { body: "WebhookCreateResponse", }, - 400: { + "4XX": { body: "APIErrorResponse", }, 403: {},