This commit is contained in:
José Conde
2023-01-15 18:42:26 +01:00
parent 34ed6355c9
commit e5d9ced955
17 changed files with 659 additions and 110 deletions

View File

@ -27,7 +27,7 @@ async function getMysqlPool() {
}
return pool;
} catch (err) {
console.log(err);
console.log('error', err);
}
}
@ -37,7 +37,7 @@ const query = async(sql) => {
const pool = await getMysqlPool();
return pool.query(sql);
} catch (err) {
console.log(err);
console.log('error', err);
}
}