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 resp = e;
|
||||
|
||||
if (event.target.status.toString().includes("40")) {
|
||||
console.log(event.target.status + " error :[")
|
||||
return;
|
||||
}
|
||||
// if (event.target.status.toString().includes("40")) {
|
||||
// console.log(event.target.status + " error :[")
|
||||
// return;
|
||||
// }
|
||||
|
||||
if (resp != prevSha) {
|
||||
if (prevSha == "ThisShouldntBeASHA") {
|
||||
|
@ -31,4 +31,4 @@ function reqData() {
|
|||
.then(y => donedata(y));
|
||||
}
|
||||
|
||||
reqData();
|
||||
reqData();
|
||||
|
|
Loading…
Reference in a new issue