mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 07:09:07 +03:00
formatting
This commit is contained in:
1 parent
b72feec540
commit
b3689eaa4b
1 file changed
+6
-2
@@ -1003,8 +1003,12 @@ pages:
|
||||
js: |
|
||||
```js
|
||||
const { data: user, error } = await supabase.functions.invoke('hello', {
|
||||
headers: { Authorization: 'Bearer ${supabase.auth.session()?.access_token}' },
|
||||
body: { foo: 'bar' }
|
||||
headers: {
|
||||
Authorization: 'Bearer ${supabase.auth.session()?.access_token}'
|
||||
},
|
||||
body: {
|
||||
foo: 'bar'
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user