diff options
author | stuebinm | 2024-09-09 15:47:47 +0200 |
---|---|---|
committer | stuebinm | 2024-09-09 15:47:47 +0200 |
commit | 0a3aad3a4e31049b36832827a5b3afff1334bff8 (patch) | |
tree | c8235aaae7a8ee564741161ab0d9fd1fb8b3c81c /src/onboard/zugportal.rs | |
parent | b6080abc5661f9323593944f5701d7dd7597afb9 (diff) |
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.
Diffstat (limited to '')
-rw-r--r-- | src/onboard/zugportal.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/onboard/zugportal.rs b/src/onboard/zugportal.rs index c649107..fe083ef 100644 --- a/src/onboard/zugportal.rs +++ b/src/onboard/zugportal.rs @@ -67,8 +67,8 @@ impl IsStation for Stop { self.arrival_time.as_ref().map(|t| &t.predicted) } - fn ds100(&self) -> &str { - "??" + fn ds100(&self) -> Option<&str> { + None } } |