Skip to content

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

fixed: Syntax error in storage helper functions example (#19939)

Abhijeet Biswalf9c774b53673
diff --git a/apps/docs/pages/guides/storage/schema/helper-functions.mdx b/apps/docs/pages/guides/storage/schema/helper-functions.mdx
index 3c0f7a2f30b..53e1be7ad02 100644
--- a/apps/docs/pages/guides/storage/schema/helper-functions.mdx
+++ b/apps/docs/pages/guides/storage/schema/helper-functions.mdx
@@ -42,7 +42,7 @@ on storage.objects
for insert
to authenticated
with check (
- storage.foldername(name)[1] = 'private'
+ (storage.foldername(name))[1] = 'private'
);
```