hotFix: remove console.log
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Alex Moreno 2024-02-19 12:33:33 +01:00
parent 8328dd6f4c
commit 231ebf78d7
1 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ module.exports = Self => {
const sql = ParameterizedSQL.join(stmts, ';'); const sql = ParameterizedSQL.join(stmts, ';');
const days = await conn.executeStmt(sql, myOptions); const days = await conn.executeStmt(sql, myOptions);
console.log(days[index][0]);
let previousWorkerFk = days[index][0].workerFk; let previousWorkerFk = days[index][0].workerFk;
let previousReceiver = days[index][0].receiver; let previousReceiver = days[index][0].receiver;
@ -357,7 +357,7 @@ module.exports = Self => {
previousReceiver = day.receiver; previousReceiver = day.receiver;
} }
if (tx) await tx.rollback(); if (tx) await tx.commit();
} catch (e) { } catch (e) {
const stmts = []; const stmts = [];
let stmt; let stmt;