From ab894780f3d69837f583d4bf86722416498dc644 Mon Sep 17 00:00:00 2001 From: PierreDemailly Date: Sat, 27 Jul 2024 16:53:12 +0200 Subject: [PATCH] fix(api): add missing await --- src/api/report.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/report.js b/src/api/report.js index 1051433..bf6b534 100644 --- a/src/api/report.js +++ b/src/api/report.js @@ -37,7 +37,7 @@ export async function report( ); if (reportConfig.reporters.includes("pdf")) { - return PDF(reportHTMLPath, { + return await PDF(reportHTMLPath, { title: reportConfig.title, saveOnDisk: savePDFOnDisk, reportOutputLocation: finalReportLocation