Correct header name before calling explorer to fetch guardrails.

This commit is contained in:
Hemang
2025-04-02 13:40:52 +02:00
committed by Hemang Sarkar
parent eced3755b2
commit 9aef873a74
+1 -1
View File
@@ -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,
},
)