fix: allow multiple hooks for same event

This commit is contained in:
Lakhan Samani
2023-03-26 07:20:45 +05:30
parent f324976801
commit deaf1e2ff7
15 changed files with 385 additions and 273 deletions

View File

@@ -168,6 +168,7 @@ type GenerateJWTKeysResponse {
type Webhook {
id: ID!
title: String
event_name: String
endpoint: String
enabled: Boolean
@@ -458,6 +459,7 @@ input ListWebhookLogRequest {
}
input AddWebhookRequest {
title: String!
event_name: String!
endpoint: String!
enabled: Boolean!
@@ -466,6 +468,7 @@ input AddWebhookRequest {
input UpdateWebhookRequest {
id: ID!
title: String
event_name: String
endpoint: String
enabled: Boolean