Browse Source

fix syntax error

k.niemeskern 2 years ago
parent
commit
76d7b0b42f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -41,7 +41,7 @@ async function watchLinkedin(){
             }
         }).catch( (err) => {
             console.log("[DEBUG-LOG][watchLinkedin ERROR]", info.error, err);
-            info.error = info.error++
+            info.error++
             if (info.error > 50) {
                 info.active = false
                 mail.notif(process.env.usermail, process.env.pswd, process.env.contact);