From 0a3aad3a4e31049b36832827a5b3afff1334bff8 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 9 Sep 2024 15:47:47 +0200 Subject: do not require ds100 codes in API responses these are not present when other hafas backends than the DB one were used for the trip's checkin. --- src/onboard/iceportal.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/onboard/iceportal.rs') diff --git a/src/onboard/iceportal.rs b/src/onboard/iceportal.rs index bde0b1f..55b35e7 100644 --- a/src/onboard/iceportal.rs +++ b/src/onboard/iceportal.rs @@ -75,8 +75,8 @@ impl IsStation for Stop { self.timetable.scheduled_arrival_time.as_ref() } - fn ds100(&self) -> &str { - "??" + fn ds100(&self) -> Option<&str> { + None } } -- cgit v1.2.3