mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-12 00:08:47 +00:00
Navitia: Fix some API request URIs.
This commit is contained in:
parent
2a1bda6c4b
commit
d107a905b2
1 changed files with 2 additions and 2 deletions
|
@ -775,7 +775,7 @@ public abstract class AbstractNavitiaProvider extends AbstractNetworkProvider
|
||||||
{
|
{
|
||||||
throw new IllegalArgumentException();
|
throw new IllegalArgumentException();
|
||||||
}
|
}
|
||||||
queryUriType = "stop_point/" + location.id + "/";
|
queryUriType = "stop_points/" + location.id + "/";
|
||||||
}
|
}
|
||||||
else if (location.type == LocationType.POI)
|
else if (location.type == LocationType.POI)
|
||||||
{
|
{
|
||||||
|
@ -783,7 +783,7 @@ public abstract class AbstractNavitiaProvider extends AbstractNetworkProvider
|
||||||
{
|
{
|
||||||
throw new IllegalArgumentException();
|
throw new IllegalArgumentException();
|
||||||
}
|
}
|
||||||
queryUriType = "poi/" + location.id + "/";
|
queryUriType = "pois/" + location.id + "/";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue