This commit is contained in:
Mateo Körber Belmonte
2025-03-02 15:51:43 +01:00
parent b4247e32df
commit 5608f1914e
+2 -2
View File
@@ -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}`;
} }