Skip to content

Commit

Permalink
Merge pull request #93 from stek29/patch-1
Browse files Browse the repository at this point in the history
Use fetchWithAuth: fix #92
  • Loading branch information
TheLastProject authored Aug 12, 2021
2 parents 372e253 + 341a15c commit 6467444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion valetudo-map-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ class ValetudoMapCard extends HTMLElement {
if(this.isPollingMap === false ) {
this.isPollingMap = true;

const response = await fetch(url);
const response = await this._hass.fetchWithAuth(url);
let mapData;

if(!response.ok) {
Expand Down

0 comments on commit 6467444

Please sign in to comment.