Update update.js
This commit is contained in:
parent
67cb101aba
commit
4e6dae6ee3
1 changed files with 5 additions and 5 deletions
10
update.js
10
update.js
|
@ -8,10 +8,10 @@ function reqData() {
|
||||||
var donedata = (e) => {
|
var donedata = (e) => {
|
||||||
var resp = e;
|
var resp = e;
|
||||||
|
|
||||||
if (event.target.status.toString().includes("40")) {
|
// if (event.target.status.toString().includes("40")) {
|
||||||
console.log(event.target.status + " error :[")
|
// console.log(event.target.status + " error :[")
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (resp != prevSha) {
|
if (resp != prevSha) {
|
||||||
if (prevSha == "ThisShouldntBeASHA") {
|
if (prevSha == "ThisShouldntBeASHA") {
|
||||||
|
@ -31,4 +31,4 @@ function reqData() {
|
||||||
.then(y => donedata(y));
|
.then(y => donedata(y));
|
||||||
}
|
}
|
||||||
|
|
||||||
reqData();
|
reqData();
|
||||||
|
|
Loading…
Reference in a new issue