From 9aef873a74d1ac6bac858dbc5150661f4cb47406 Mon Sep 17 00:00:00 2001 From: Hemang Date: Tue, 1 Apr 2025 15:42:01 +0200 Subject: [PATCH] Correct header name before calling explorer to fetch guardrails. --- gateway/integrations/explorer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/integrations/explorer.py b/gateway/integrations/explorer.py index 29e0710..09b32b1 100644 --- a/gateway/integrations/explorer.py +++ b/gateway/integrations/explorer.py @@ -111,7 +111,7 @@ async def fetch_guardrails_from_explorer( client = httpx.AsyncClient( base_url=os.getenv("INVARIANT_API_URL", DEFAULT_API_URL).rstrip("/"), headers={ - "Invariant-Authorization": invariant_authorization, + "Authorization": invariant_authorization, }, )