mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-07 15:58:49 +00:00
Adapt to: SNCB: Require API authorization.
This commit is contained in:
parent
5f0c3075c0
commit
d355b0d1ac
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ public final class NetworkProviderFactory {
|
||||||
else if (networkId.equals(NetworkId.PARIS))
|
else if (networkId.equals(NetworkId.PARIS))
|
||||||
return new ParisProvider(NAVITIA_AUTHORIZATION);
|
return new ParisProvider(NAVITIA_AUTHORIZATION);
|
||||||
else if (networkId.equals(NetworkId.SNCB))
|
else if (networkId.equals(NetworkId.SNCB))
|
||||||
return new SncbProvider();
|
return new SncbProvider("{\"type\":\"AID\",\"aid\":\"sncb-mobi\"}");
|
||||||
else if (networkId.equals(NetworkId.LU))
|
else if (networkId.equals(NetworkId.LU))
|
||||||
return new LuProvider("{\"type\":\"AID\",\"aid\":\"Aqf9kNqJLjxFx6vv\"}");
|
return new LuProvider("{\"type\":\"AID\",\"aid\":\"Aqf9kNqJLjxFx6vv\"}");
|
||||||
else if (networkId.equals(NetworkId.NS))
|
else if (networkId.equals(NetworkId.NS))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue