From e8f4273499dbfd18198ab5b068ee2b607054f742 Mon Sep 17 00:00:00 2001 From: Peter Date: Mon, 26 May 2025 15:23:29 -0500 Subject: [PATCH] fix default enable state for auth hooks to be true (#35942) --- .../studio/components/interfaces/Auth/Hooks/CreateHookSheet.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/studio/components/interfaces/Auth/Hooks/CreateHookSheet.tsx b/apps/studio/components/interfaces/Auth/Hooks/CreateHookSheet.tsx index 7cd4e09bc52..03919ee7c35 100644 --- a/apps/studio/components/interfaces/Auth/Hooks/CreateHookSheet.tsx +++ b/apps/studio/components/interfaces/Auth/Hooks/CreateHookSheet.tsx @@ -240,7 +240,7 @@ export const CreateHookSheet = ({ form.reset({ hookType: definition.title, - enabled: authConfig?.[definition.enabledKey] || false, + enabled: authConfig?.[definition.enabledKey] || true, selectedType: values.type, httpsValues: { url: (values.type === 'https' && values.url) || '',