fix(pdf_generation): Only load direct runners for direct calls

This commit is contained in:
Nicolai Ort 2025-03-26 19:10:37 +01:00
parent 48dd9acde5
commit 97b7ca931f
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
3 changed files with 3 additions and 3 deletions

View File

@ -125,7 +125,7 @@
let runners = let runners =
await RunnerOrganizationService.runnerOrganizationControllerGetRunners( await RunnerOrganizationService.runnerOrganizationControllerGetRunners(
o.id, o.id,
false true
); );
let cards = []; let cards = [];
for (let runner of runners) { for (let runner of runners) {

View File

@ -104,7 +104,7 @@
let runners = let runners =
await RunnerOrganizationService.runnerOrganizationControllerGetRunners( await RunnerOrganizationService.runnerOrganizationControllerGetRunners(
o.id, o.id,
false true
); );
let certificateRunners = []; let certificateRunners = [];
for (let runner of runners) { for (let runner of runners) {

View File

@ -68,7 +68,7 @@
let runners = let runners =
await RunnerOrganizationService.runnerOrganizationControllerGetRunners( await RunnerOrganizationService.runnerOrganizationControllerGetRunners(
o.id, o.id,
false true
); );
await documentServer await documentServer
.generateContracts(runners, locale) .generateContracts(runners, locale)