Update pin.html

This commit is contained in:
Elia Zammuto
2022-01-23 17:31:32 +01:00
committed by GitHub
parent dd7736e806
commit 4bada2d9f6

View File

@@ -28,7 +28,7 @@
fetch("/api/pin", { method: "POST", body: b })
.then((response) => response.json())
.then((response) => {
if (response.status && response.status === "true") {
if (response.status.toString().toLowerCase() === "true") {
document.querySelector(
"#status"
).innerHTML = `<div class="alert alert-success" role="alert">Success! Please check Moonlight to continue</div>`;