refator: delete console.log
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2022-09-15 08:38:00 +02:00
parent 28bf7bd747
commit 5fce5b3e4f
1 changed files with 2 additions and 4 deletions

View File

@ -45,7 +45,6 @@ module.exports = Self => {
let ticketsId = []; let ticketsId = [];
con.connect(err => { con.connect(err => {
if (err) throw err; if (err) throw err;
console.log('Connected!');
con.query(sql, (err, results) => { con.query(sql, (err, results) => {
if (err) throw err; if (err) throw err;
for (const result of results) for (const result of results)
@ -109,9 +108,8 @@ module.exports = Self => {
'Cookie': secondCookie 'Cookie': secondCookie
} }
}; };
const response = await fetch(ostUri, params);
console.log(response.statusText); return fetch(ostUri, params);
// return fetch(ostUri, params);
} }
} }
}; };