working through bug
parent
6a6291073a
commit
800ada38c2
|
|
@ -306,8 +306,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 = () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue