From: Stewart Cossey Date: Sat, 3 Sep 2022 12:32:43 +0000 (+1200) Subject: Update API URL. (#13306) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=df432a7fbc200eece4123621b24e3724749b3095;p=openhab-addons.git Update API URL. (#13306) Signed-off-by: Stewart Cossey --- diff --git a/bundles/org.openhab.binding.hccrubbishcollection/src/main/java/org/openhab/binding/hccrubbishcollection/internal/API.java b/bundles/org.openhab.binding.hccrubbishcollection/src/main/java/org/openhab/binding/hccrubbishcollection/internal/API.java index 826612d54d..4c5d3cc45d 100644 --- a/bundles/org.openhab.binding.hccrubbishcollection/src/main/java/org/openhab/binding/hccrubbishcollection/internal/API.java +++ b/bundles/org.openhab.binding.hccrubbishcollection/src/main/java/org/openhab/binding/hccrubbishcollection/internal/API.java @@ -41,7 +41,7 @@ import com.google.gson.JsonParser; @NonNullByDefault public class API { private static final int REQUEST_TIMEOUT = 10; - private static final String REQUEST_URL = "https://hccfightthelandfill.azure-api.net/get_Collection_Dates?address_string="; + private static final String REQUEST_URL = "https://api.hcc.govt.nz/FightTheLandFill/get_Collection_Dates?address_string="; private static final int HTTP_OK = 200; private final Logger logger = LoggerFactory.getLogger(API.class);