bug fix
parent
ff55c689db
commit
a88796ff28
|
|
@ -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 = () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue