change: Add timetable id to BahnTimetable

This commit is contained in:
2025-08-25 15:45:45 +02:00
parent 076411258d
commit b11b180611
11 changed files with 42 additions and 18 deletions
@@ -181,7 +181,8 @@ class TimetableController(
HttpStatus.BAD_REQUEST,
"Route name must belong to existing route"
)
scheduledTaskService.triggerTimetableFetch(route, timetable.fetchDate)
scheduledTaskService.triggerTimetableFetch(route, timetable.timetableId,
timetable.fetchDate)
} else {
timetable.name = NonEmptyString(body.name)
}