formatting

This commit is contained in:
Copple authored and Bobbie Soedirgo committed 2022-03-31 10:43:47 +02:00
1 parent b72feec540
commit b3689eaa4b
1 file changed
+6 -2
+6 -2
View File
@@ -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'
}
})
```