fix(docs): typo in authorization header example (#33770)

This commit is contained in:
Charis authored and GitHub committed 2025-02-21 11:18:03 -05:00
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;