Use KEY_HASS [h-z] (#112610)
This commit is contained in:
parent
714777e853
commit
8ca127df2a
31 changed files with 82 additions and 80 deletions
|
@ -455,7 +455,7 @@ class OAuth2AuthorizeCallbackView(http.HomeAssistantView):
|
|||
if "state" not in request.query:
|
||||
return web.Response(text="Missing state parameter")
|
||||
|
||||
hass = request.app["hass"]
|
||||
hass = request.app[http.KEY_HASS]
|
||||
|
||||
state = _decode_jwt(hass, request.query["state"])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue