refs #4550 Undo patch application
gitea/printnatura/pipeline/head This commit looks good Details

This commit is contained in:
Guillermo Bonet 2022-12-21 09:57:37 +01:00
parent 0ca0d978f9
commit 00ea09c7e2
1 changed files with 1 additions and 6 deletions

View File

@ -116,12 +116,8 @@ class PrintServer {
try { try {
// Job data // Job data
let jobData;
// FIXME: Cannot read property 'method' of undefined // FIXME: Cannot read property 'method' of undefined
for (let a = 0; !jobData && a < 4; a++) { const [[jobData]] = await conn.query(jobDataQuery, jobId);
[[jobData]] = await conn.query(jobDataQuery, jobId);
}
const args = {}; const args = {};
const [res] = await conn.query(jobArgsQuery, jobId); const [res] = await conn.query(jobArgsQuery, jobId);
for (const row of res) for (const row of res)
@ -137,7 +133,6 @@ class PrintServer {
}); });
let pdfData; let pdfData;
for (let attempts = 0; !pdfData && attempts < 2; attempts++) { for (let attempts = 0; !pdfData && attempts < 2; attempts++) {
// URL params // URL params
const params = { const params = {