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