mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-16 09:29:49 +00:00
AbstractEfaProvider: Require 'identified' state when querying for departures.
This commit is contained in:
parent
dd99ab90b7
commit
de4a94014a
1 changed files with 1 additions and 1 deletions
|
@ -1452,7 +1452,7 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
|||
}
|
||||
});
|
||||
|
||||
if ("notidentified".equals(nameState) || "list".equals(nameState)) {
|
||||
if (!"identified".equals(nameState)) {
|
||||
result.set(new QueryDeparturesResult(header, QueryDeparturesResult.Status.INVALID_STATION));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue