mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 11:25:06 +03:00
fix(docs): typo in authorization header example (#33770)
This commit is contained in:
1 parent
29066a2353
commit
940cdbe8f4
1 file changed
+1
-1
@@ -47,7 +47,7 @@ select
|
||||
url:= (select decrypted_secret from vault.decrypted_secrets where name = 'project_url') || '/functions/v1/function-name',
|
||||
headers:=jsonb_build_object(
|
||||
'Content-type', 'application/json',
|
||||
'Authorization', 'Bearer: ' || (select decrypted_secret from vault.decrypted_secrets where name = 'anon_key')
|
||||
'Authorization', 'Bearer ' || (select decrypted_secret from vault.decrypted_secrets where name = 'anon_key')
|
||||
),
|
||||
body:=concat('{"time": "', now(), '"}')::jsonb
|
||||
) as request_id;
|
||||
|
||||
Reference in new issue
Block a user