]> git.basschouten.com Git - openhab-addons.git/commitdiff
Update API URL. (#13306)
authorStewart Cossey <stewart.cossey@gmail.com>
Sat, 3 Sep 2022 12:32:43 +0000 (00:32 +1200)
committerGitHub <noreply@github.com>
Sat, 3 Sep 2022 12:32:43 +0000 (14:32 +0200)
Signed-off-by: Stewart Cossey <stewart.cossey@gmail.com>
bundles/org.openhab.binding.hccrubbishcollection/src/main/java/org/openhab/binding/hccrubbishcollection/internal/API.java

index 826612d54d3be253772c628531a497eb9cdfea29..4c5d3cc45db4c0e43917967eb0feb0215cfbcdaa 100644 (file)
@@ -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);