We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93d4ab8 commit 4bf111bCopy full SHA for 4bf111b
1 file changed
u/profile.html
@@ -39,7 +39,7 @@
39
method: 'POST',
40
headers: {
41
'Content-Type': 'application/json',
42
- 'Authorization': `Bearer ${data.session?.access_token}`
+ 'Authorization': `Bearer ${(await supabase.auth.getSession()).data.session?.access_token}`
43
},
44
body: JSON.stringify(dt)
45
})
0 commit comments