Skip to content

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

style: update Picket integration docs

Devin Stein58dca1d7fdb7
diff --git a/apps/docs/pages/guides/integrations/picket.mdx b/apps/docs/pages/guides/integrations/picket.mdx
index d33fa8f7988..0508e5cfa18 100644
--- a/apps/docs/pages/guides/integrations/picket.mdx
+++ b/apps/docs/pages/guides/integrations/picket.mdx
@@ -72,7 +72,7 @@ Click `Save` to create the new table.
Now we want to make sure that only the `todos` owner, the user's `wallet_address`, can access their todos. The key component of the this RLS policy is the expression
```sql
-((jwt() ->> 'walletAddress'::text) = wallet_address)
+((auth.jwt() ->> 'walletAddress'::text) = wallet_address)
```
This expression checks that the wallet address in the requesting JWT access token is the same as the `wallet_address` in the `todos` table.
diff --git a/apps/docs/public/img/guides/integrations/picket/rls_policy.png b/apps/docs/public/img/guides/integrations/picket/rls_policy.png
index 347038ebe90..54fee108478 100644
Binary files a/apps/docs/public/img/guides/integrations/picket/rls_policy.png and b/apps/docs/public/img/guides/integrations/picket/rls_policy.png differ