diff --git a/dough-updater/src/main/java/io/github/bakedlibs/dough/updater/BlobBuildUpdater.java b/dough-updater/src/main/java/io/github/bakedlibs/dough/updater/BlobBuildUpdater.java index e01dc3e2..909dba08 100644 --- a/dough-updater/src/main/java/io/github/bakedlibs/dough/updater/BlobBuildUpdater.java +++ b/dough-updater/src/main/java/io/github/bakedlibs/dough/updater/BlobBuildUpdater.java @@ -50,8 +50,9 @@ public UpdateInfo parse(String result) throws MalformedURLException, URISyntaxEx return null; } - int latestVersion = json.get("build_id").getAsInt(); - URL downloadURL = new URI(json.get("file_download_url").getAsString()).toURL(); + JsonObject data = json.getAsJsonObject("data"); + int latestVersion = data.get("build_id").getAsInt(); + URL downloadURL = new URI(data.get("file_download_url").getAsString()).toURL(); return new UpdateInfo(downloadURL, new PrefixedVersion(releaseChannel, latestVersion)); }