Update pin.html
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@
|
|||||||
fetch("/api/pin", { method: "POST", body: b })
|
fetch("/api/pin", { method: "POST", body: b })
|
||||||
.then((response) => response.json())
|
.then((response) => response.json())
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
if (response.status && response.status === "true") {
|
if (response.status.toString().toLowerCase() === "true") {
|
||||||
document.querySelector(
|
document.querySelector(
|
||||||
"#status"
|
"#status"
|
||||||
).innerHTML = `<div class="alert alert-success" role="alert">Success! Please check Moonlight to continue</div>`;
|
).innerHTML = `<div class="alert alert-success" role="alert">Success! Please check Moonlight to continue</div>`;
|
||||||
|
|||||||
Reference in New Issue
Block a user