Make webhook active by default (#3067)
This commit is contained in:
parent
1baa9d35a7
commit
7b8ececc3d
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ const WebhookDetailsPage: React.FC<WebhookDetailsPageProps> = ({
|
|||
const initialForm: WebhookFormData = {
|
||||
syncEvents: webhook?.syncEvents?.map(event => event.eventType) || [],
|
||||
asyncEvents: webhook?.asyncEvents?.map(event => event.eventType) || [],
|
||||
isActive: !!webhook?.isActive,
|
||||
isActive: !!webhook?.isActive || true,
|
||||
name: webhook?.name || "",
|
||||
secretKey: webhook?.secretKey || "",
|
||||
targetUrl: webhook?.targetUrl || "",
|
||||
|
|
Loading…
Reference in a new issue