We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb04fbc commit bc6a07fCopy full SHA for bc6a07f
js/check.js
@@ -27,11 +27,11 @@ function check() {
27
fetch(requestUrl)
28
.then(response => response.json())
29
.then(result => {
30
- if (result.status == "200") {
+ if (result.code == "200") {
31
document.getElementById("permission").innerHTML = result.permission;
32
loadingModal.hide();
33
successModal.show();
34
- } else if (result.status == "404") {
+ } else if (result.code == "404") {
35
36
notfoundModal.show();
37
} else {
0 commit comments