mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-21 01:39:51 +00:00
HSL: Fix API base.
This commit is contained in:
parent
188dbf397d
commit
1b10571183
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ public class HslProvider extends AbstractNetworkProvider {
|
|||
|
||||
private HttpUrl.Builder apiUrl(final String request) {
|
||||
final HttpUrl.Builder url = API_BASE.newBuilder();
|
||||
url.addPathSegment(SERVER_VERSION);
|
||||
url.addPathSegment(SERVER_VERSION).addPathSegment("");
|
||||
url.addQueryParameter("user", user);
|
||||
url.addQueryParameter("pass", pass);
|
||||
url.addQueryParameter("request", request);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue