From 26d1b8efa617d6b160098a18070207b185b8ce2b Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Mon, 12 Nov 2018 14:36:18 +0100 Subject: [PATCH] InvgProvider: Increase API version to 1.14. --- enabler/src/de/schildbach/pte/InvgProvider.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/enabler/src/de/schildbach/pte/InvgProvider.java b/enabler/src/de/schildbach/pte/InvgProvider.java index 6b8fe464..b27adc33 100644 --- a/enabler/src/de/schildbach/pte/InvgProvider.java +++ b/enabler/src/de/schildbach/pte/InvgProvider.java @@ -21,6 +21,8 @@ import java.util.HashMap; import java.util.Map; import java.util.regex.Matcher; +import com.google.common.base.Charsets; + import de.schildbach.pte.dto.Product; import de.schildbach.pte.dto.Style; @@ -35,9 +37,10 @@ public class InvgProvider extends AbstractHafasClientInterfaceProvider { public InvgProvider(final String apiAuthorization) { super(NetworkId.INVG, API_BASE, PRODUCTS_MAP); - setApiVersion("1.13"); + setApiVersion("1.14"); setApiClient("{\"id\":\"INVG\",\"type\":\"AND\"}"); setApiAuthorization(apiAuthorization); + setRequestMicMacSalt("ERxotxpwFT7uYRsI".getBytes(Charsets.UTF_8)); setStyles(STYLES); }