mirror of
https://github.com/Matewoo/pdf-writer.git
synced 2026-11-18 18:42:50 +01:00
fix typo
This commit is contained in:
+2
-2
@@ -215,10 +215,10 @@ app.post('/generate-pdf', (req, res) => {
|
|||||||
|
|
||||||
if (type === 'week') {
|
if (type === 'week') {
|
||||||
console.log('Generating PDF for week:', val);
|
console.log('Generating PDF for week:', val);
|
||||||
pdfPath = `python3 scripts/writeWeeklyPdf.py ${val}`;
|
pdfPath = `python3 scripts/writeWeeklyMenu.py ${val}`;
|
||||||
} else if (type === 'day') {
|
} else if (type === 'day') {
|
||||||
console.log('Generating PDF for daily:', val);
|
console.log('Generating PDF for daily:', val);
|
||||||
pdfPath = `python3 /scripts/writeDailyMenu.py ${val}`;
|
pdfPath = `python3 scripts/writeDailyMenu.py ${val}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user