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()