5035-tryToSolve_intermittentBackTest #1379

Merged
joan merged 4 commits from 5035-tryToSolve_intermittentBackTest into dev 2023-03-13 09:37:43 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit c46d325e23 - Show all commits

View File

@ -131,7 +131,7 @@ module.exports = Self => {
WHERE u.id = ?`, [userId], options);
let roles = [];
for (role of result)
for (const role of result)
roles.push(role.name);
return roles;

View File

@ -65,7 +65,7 @@ module.exports = Self => {
try {
await fs.access(file.path);
} catch (error) {
await Self.createPdf(ctx, id);
await Self.createPdf(ctx, id, myOptions);
}
const stream = fs.createReadStream(file.path);