Ermögliche das Abrufen von Zeitkorrekturen für ein spezifisches Datum und aktualisiere die Benutzeroberfläche entsprechend
All checks were successful
Deploy production / deploy (push) Successful in 48s
All checks were successful
Deploy production / deploy (push) Successful in 48s
This commit is contained in:
@@ -30,7 +30,7 @@ class TimefixController {
|
||||
async getTodayTimefixes(req, res) {
|
||||
try {
|
||||
const userId = req.user.userId;
|
||||
const timefixes = await timefixService.getTodayTimefixes(userId);
|
||||
const timefixes = await timefixService.getTodayTimefixes(userId, req.query.date);
|
||||
res.json(timefixes);
|
||||
} catch (error) {
|
||||
console.error('Fehler beim Abrufen der Timefixes:', error);
|
||||
|
||||
Reference in New Issue
Block a user