From 50e9a50832c80a175f08b3cb9b6b03040e80f587 Mon Sep 17 00:00:00 2001 From: hvanranden Date: Thu, 22 Jan 2026 20:29:52 +0100 Subject: [PATCH] Remove redundant Authorization header setup in HomeAssistantService constructor --- Intentor/Services/HomeAssistantService.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Intentor/Services/HomeAssistantService.cs b/Intentor/Services/HomeAssistantService.cs index 8716507..49894ab 100644 --- a/Intentor/Services/HomeAssistantService.cs +++ b/Intentor/Services/HomeAssistantService.cs @@ -12,7 +12,6 @@ public class HomeAssistantService { _httpClient = httpClient; _supervisorToken = supervisorToken; - _httpClient.DefaultRequestHeaders.Add("Authorization", $"Bearer {supervisorToken}"); } public async Task> GetStatesAsync()