working through bug
parent
6a6291073a
commit
800ada38c2
|
|
@ -306,8 +306,8 @@
|
||||||
const unlockDoor = (dID, aK, d) => {
|
const unlockDoor = (dID, aK, d) => {
|
||||||
//fetch(`${unlockUrl}?deviceID=${dID}&apiKey=${aK}&delay=${d}`)
|
//fetch(`${unlockUrl}?deviceID=${dID}&apiKey=${aK}&delay=${d}`)
|
||||||
fetch(unlockUrl)
|
fetch(unlockUrl)
|
||||||
.then(response => response.json())
|
.then(response => response.text())
|
||||||
.then(data => messageContainer.innerHTML = data.message);
|
.then(data => messageContainer.innerHTML = data);
|
||||||
}
|
}
|
||||||
|
|
||||||
const setSettings = () => {
|
const setSettings = () => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue