mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
docs: fix RPC example for parameterless calls by adding undefined (#36714)
docs: fix RPC example when using options for parameterless call (#36713)
This commit is contained in:
1 parent
ef02eb65e2
commit
6d728885d3
1 file changed
+1
-1
@@ -4406,7 +4406,7 @@ functions:
|
||||
name: Call a read-only Postgres function
|
||||
code: |
|
||||
```ts
|
||||
const { data, error } = await supabase.rpc('hello_world', { get: true })
|
||||
const { data, error } = await supabase.rpc('hello_world', undefined, { get: true })
|
||||
```
|
||||
data:
|
||||
sql: |
|
||||
|
||||
Reference in new issue
Block a user