Navitia: Fix some API request URIs.

This commit is contained in:
Nicolas Derive 2015-12-20 19:35:16 +01:00 committed by Andreas Schildbach
parent 2a1bda6c4b
commit d107a905b2

View file

@ -775,7 +775,7 @@ public abstract class AbstractNavitiaProvider extends AbstractNetworkProvider
{
throw new IllegalArgumentException();
}
queryUriType = "stop_point/" + location.id + "/";
queryUriType = "stop_points/" + location.id + "/";
}
else if (location.type == LocationType.POI)
{
@ -783,7 +783,7 @@ public abstract class AbstractNavitiaProvider extends AbstractNetworkProvider
{
throw new IllegalArgumentException();
}
queryUriType = "poi/" + location.id + "/";
queryUriType = "pois/" + location.id + "/";
}
else
{