fix: update curl snippet for invite user (#29851)

fix: update snippet
This commit is contained in:
Joel Lee authored and Crispy1975 committed 2024-10-16 12:54:48 +01:00
1 parent 8c7cc91c53
commit 9c8830b778
1 file changed
+1 -1
@@ -637,7 +637,7 @@ let { data, error } = await supabase.auth.verifyOtp({
code: `
curl -X POST '${endpoint}/auth/v1/invite' \\
-H "apikey: ${apiKey}" \\
-H "Authorization: Bearer USER_TOKEN" \\
-H "Authorization: Bearer SERVICE_ROLE_KEY" \\
-H "Content-Type: application/json" \\
-d '{
"email": "someone@email.com"