parametr forceupdate jidla
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful

This commit is contained in:
2025-07-29 11:33:31 +02:00
parent cf8be8c64f
commit fa4f9903cb
2 changed files with 3 additions and 3 deletions

View File

@@ -156,7 +156,7 @@ router.get("/refresh", async (req: Request, res: Response) => {
const firstDay = getFirstWorkDayOfWeek(getToday());
const results: Record<string, any> = {};
for (const rest of restaurants) {
results[rest] = await getRestaurantMenu(rest, firstDay);
results[rest] = await getRestaurantMenu(rest, firstDay, true);
}
res.status(200).json({ ok: true, refreshed: results });
} catch (e: any) {