From e4499e8dd0aa0d22ab850927dcf6ccbe5f61a3b9 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Fri, 13 Feb 2026 14:01:19 -0600 Subject: [PATCH] fix: use correct auth header for gaiia api gaiia expects X-Gaiia-Api-Key header, not Authorization: Bearer. --- lib/towerops/gaiia/client.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/towerops/gaiia/client.ex b/lib/towerops/gaiia/client.ex index 25ea3e68..8d1ed2f7 100644 --- a/lib/towerops/gaiia/client.ex +++ b/lib/towerops/gaiia/client.ex @@ -291,7 +291,7 @@ defmodule Towerops.Gaiia.Client do method: :post, url: endpoint, headers: [ - {"authorization", "Bearer #{api_key}"}, + {"x-gaiia-api-key", api_key}, {"content-type", "application/json"} ], json: %{"query" => query_string, "variables" => variables}