From c5020bbcf340dc6d35c34e499f71d27da812fd33 Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Thu, 24 Oct 2024 14:19:25 +0200 Subject: [PATCH] Fix getting file URL --- src/main/java/eu/m724/jarupdater/object/Version.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/eu/m724/jarupdater/object/Version.java b/src/main/java/eu/m724/jarupdater/object/Version.java index 0bdd276..d648b23 100644 --- a/src/main/java/eu/m724/jarupdater/object/Version.java +++ b/src/main/java/eu/m724/jarupdater/object/Version.java @@ -1,5 +1,7 @@ package eu.m724.jarupdater.object; +import com.google.gson.annotations.SerializedName; + public class Version { /** * metadata file version @@ -17,6 +19,7 @@ public class Version { private int id; private long timestamp; private String label; + @SerializedName("file") private String fileUrl; private String sha256;