Switched to puppeteer for pdf generation

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

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;
}
}