The format was wrong on the New price as well but I fixed it on line 32 (util.js) where it says: return p.replace(',','') => return p.replace(',','.')
But I can't find a way to fix the old price as well.
Also in data.js line 84 where it says const data = JSON.parse(fs.readFileSync(watchFile)) I replaced const with var because it was giving an error (don't remember the error).
Last thing: It sends every 5 minutes or so the same price even without changing.
The format was wrong on the New price as well but I fixed it on line 32 (util.js) where it says: return p.replace(',','') => return p.replace(',','.')
But I can't find a way to fix the old price as well.
Also in data.js line 84 where it says const data = JSON.parse(fs.readFileSync(watchFile)) I replaced const with var because it was giving an error (don't remember the error).
Last thing: It sends every 5 minutes or so the same price even without changing.