parametr forceupdate jidla
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user