mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-25 18:16:32 +00:00
fix ensure_access_token
This commit is contained in:
parent
1a3b369dd7
commit
58bd677832
@ -128,7 +128,7 @@ class APIProxy(CoreSysAttributes):
|
|||||||
raise APIError()
|
raise APIError()
|
||||||
|
|
||||||
# Auth session
|
# Auth session
|
||||||
await self.sys_homeassistant.ensure_access_token()
|
await self.sys_homeassistant.api.ensure_access_token()
|
||||||
await client.send_json(
|
await client.send_json(
|
||||||
{
|
{
|
||||||
"type": "auth",
|
"type": "auth",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user