From 546ef066f85affb20678ebe9c73725d4af352696 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Thu, 1 Jan 2026 15:45:29 -0500 Subject: [PATCH] API Key Auth --- hwmonDaemon.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hwmonDaemon.py b/hwmonDaemon.py index b7cf3b9..8d8767f 100644 --- a/hwmonDaemon.py +++ b/hwmonDaemon.py @@ -1198,7 +1198,10 @@ class SystemHealthMonitor: response = requests.post( self.ticket_api_url, json=ticket_payload, - headers={'Content-Type': 'application/json'} + headers = { + 'Content-Type': 'application/json', + 'Authorization': f'Bearer {self.CONFIG["TICKET_API_KEY"]}' + } ) response_data = response.json()