diff --git a/trigger.html b/trigger.html
index edd2517..915699d 100644
--- a/trigger.html
+++ b/trigger.html
@@ -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 = () => {