refator: delete console.log
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
28bf7bd747
commit
5fce5b3e4f
|
@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue