API Key Auth
This commit is contained in:
@@ -1198,7 +1198,10 @@ class SystemHealthMonitor:
|
|||||||
response = requests.post(
|
response = requests.post(
|
||||||
self.ticket_api_url,
|
self.ticket_api_url,
|
||||||
json=ticket_payload,
|
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()
|
response_data = response.json()
|
||||||
|
|||||||
Reference in New Issue
Block a user