mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 18:05:11 +03:00
Hotfix changes from https://github.com/supabase/supabase/pull/12974
This commit is contained in:
1 parent
03c6d296f7
commit
ee3f091996
2 files changed
+5
-6
No files matched your search
@@ -13,7 +13,6 @@ import {
|
||||
Modal,
|
||||
Form,
|
||||
Toggle,
|
||||
IconHelpCircle,
|
||||
Input,
|
||||
IconExternalLink,
|
||||
} from 'ui'
|
||||
@@ -127,7 +126,7 @@ const EdgeFunctionDetails: FC<Props> = () => {
|
||||
if (selectedFunction !== undefined) {
|
||||
const formValues = {
|
||||
name: selectedFunction?.name,
|
||||
verifyJwt: selectedFunction?.verify_jwt,
|
||||
verify_jwt: selectedFunction?.verify_jwt,
|
||||
}
|
||||
resetForm({ values: formValues, initialValues: formValues })
|
||||
}
|
||||
@@ -184,8 +183,8 @@ const EdgeFunctionDetails: FC<Props> = () => {
|
||||
<FormSection header={<FormSectionLabel>Function Configuration</FormSectionLabel>}>
|
||||
<FormSectionContent loading={selectedFunction === undefined}>
|
||||
<Toggle
|
||||
id="verifyJwt"
|
||||
name="verifyJwt"
|
||||
id="verify_jwt"
|
||||
name="verify_jwt"
|
||||
label="Enforce JWT Verification"
|
||||
descriptionText="Require a valid JWT in the authorization header when invoking the function"
|
||||
/>
|
||||
|
||||
@@ -8,8 +8,8 @@ export type EdgeFunctionsUpdateVariables = {
|
||||
slug: string
|
||||
payload: {
|
||||
name?: string
|
||||
verifyJwt?: boolean
|
||||
importMap?: boolean
|
||||
verify_jwt?: boolean
|
||||
import_map?: boolean
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user