[amazonechocontrol] fix api url (#9982)

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
J-N-K 2021-01-29 20:33:32 +01:00 committed by GitHub
parent db3e2b690c
commit 429183b75b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1875,7 +1875,7 @@ public class Connection {
public @Nullable JsonAutomation @Nullable [] getRoutines()
throws IOException, URISyntaxException, InterruptedException {
String json = makeRequestAndReturnString(alexaServer + "/api/behaviors/automations?limit=2000");
String json = makeRequestAndReturnString(alexaServer + "/api/behaviors/v2/automations?limit=2000");
JsonAutomation[] result = parseJson(json, JsonAutomation[].class);
return result;
}