Switched to puppeteer for pdf generation

ref #5
This commit is contained in:
niggl committed 2021-02-05 13:53:46 +01:00
1 parent 4585a83838
commit 5afd26ea22
3 files changed
+23 -39

No files matched your search

+1 -1
View File
@@ -15,6 +15,6 @@ export class PdfController {
async generateContracts() {
//TODO: Accept the real classes
const contracts = await this.pdf.generateSponsoringContract();
return await contracts.toBuffer();
return await contracts;
}
}