Compare commits

..

No commits in common. "96d863bfc82cb97c419a429b931677014de1c314" and "78205ee8c7659ae0dc2e4a184554b042251d9271" have entirely different histories.

View File

@ -19,6 +19,7 @@ export class PdfCreator {
//TODO: Accept the runner class
public async generateSponsoringContract(runner: Runner): Promise<any> {
console.log("runner")
let template = fs.readFileSync(`${this.templateDir}/sponsoring_contract.html`, 'utf8');
template = template
.replace("{{runner_id}}", runner.id.toString())