Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix command

Inianfe9a170a9429
diff --git a/studio/pages/project/[ref]/functions/[id]/details.tsx b/studio/pages/project/[ref]/functions/[id]/details.tsx
index ae216dbd2d1..3dacf53b95d 100644
--- a/studio/pages/project/[ref]/functions/[id]/details.tsx
+++ b/studio/pages/project/[ref]/functions/[id]/details.tsx
@@ -109,14 +109,14 @@ const PageLayout: NextPageWithLayout = () => {
command: `curl -L -X POST 'https://${ref}.functions.supabase.co/${
selectedFunction?.slug
}' -H 'Authorization: Bearer ${anonKey ?? '[YOUR ANON KEY]'}'
- --data '{"name":"Functions"}`,
+ --data '{"name":"Functions"}'`,
description: 'Invokes the hello function',
jsx: () => {
return (
<>
<span className="text-brand-1100">curl</span> -L -X POST 'https://{ref}
.functions.supabase.co/{selectedFunction?.slug}' -H 'Authorization: Bearer [YOUR ANON
- KEY]' {`--data '{"name":"Functions"}`}
+ KEY]' {`--data '{"name":"Functions"}'`}
</>
)
},
diff --git a/studio/pages/project/[ref]/functions/index.tsx b/studio/pages/project/[ref]/functions/index.tsx
index 04de405a1ec..8f6463706d3 100644
--- a/studio/pages/project/[ref]/functions/index.tsx
+++ b/studio/pages/project/[ref]/functions/index.tsx
@@ -110,7 +110,7 @@ const EmptyFunctions = () => {
<>
<span className="text-brand-1100">curl</span> -L -X POST 'https://{ref}
.functions.supabase.co/hello' -H 'Authorization: Bearer [YOUR ANON KEY]'{' '}
- {`--data '{"name":"Functions"}`}
+ {`--data '{"name":"Functions"}'`}
</>
)
},