command handler & template change

This commit is contained in:
Julian Krauser 2025-01-04 19:17:54 +01:00
parent f16c5d91ba
commit 455589e2b5
3 changed files with 6 additions and 2 deletions

View file

@ -251,7 +251,10 @@ export abstract class NewsletterHelper {
this.formatJobEmit("progress", "pdf", newsletterId, pdfRecipients.length, 0, "starting sending");
for (const [index, rec] of pdfRecipients.entries()) {
for (const [index, rec] of [
...pdfRecipients,
{ id: 0, firstname: "Alle Mitglieder", lastname: CLUB_NAME } as member,
].entries()) {
this.formatJobEmit(
"progress",
"pdf",