Skip to content

Fix body stream already read error#1646

Merged
balloob merged 1 commit intohome-assistant:masterfrom
cgarwood:auth_fix
Sep 8, 2018
Merged

Fix body stream already read error#1646
balloob merged 1 commit intohome-assistant:masterfrom
cgarwood:auth_fix

Conversation

@cgarwood
Copy link
Copy Markdown
Member

@cgarwood cgarwood commented Sep 8, 2018

#1640 introduced a second await response.json(); call, which caused an error when loading the login page:

Error loading auth providers TypeError: body stream already read
    at HTMLElement.ready (ha-authorize.js:103)

This removes the second await response.json(); call

@ghost ghost added the in progress label Sep 8, 2018
@balloob balloob merged commit 7cf7763 into home-assistant:master Sep 8, 2018
@ghost ghost removed the in progress label Sep 8, 2018
@cgarwood cgarwood deleted the auth_fix branch September 8, 2018 19:06
@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants