4155-close_tickets #1056

Merged
joan merged 13 commits from 4155-close_tickets into dev 2022-09-21 06:46:32 +00:00
1 changed files with 2 additions and 4 deletions
Showing only changes of commit 5fce5b3e4f - Show all commits

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);
} }
} }
}; };