master
Bryan 2020-12-20 10:32:54 -06:00
parent ff55c689db
commit a88796ff28
1 changed files with 2 additions and 2 deletions

View File

@ -305,8 +305,8 @@
const unlockDoor = (dID, aK, d) => {
fetch(`${unlockUrl}?deviceID=${dID}&apiKey=${aK}&delay=${d}`)
// fetch(unlockUrl)
.then(response => response.json())
.then(data => messageContainer.innerHTML = data.message);
.then(response => response.text())
.then(data => messageContainer.innerHTML = data);
}
const setSettings = () => {