changed json property prerelease to val

This commit is contained in:
Arjix 2021-08-17 15:22:51 +03:00 committed by GitHub
parent 8f511a8707
commit cb12c76ee6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ class InAppUpdater {
@JsonProperty("body") val body: String, // Desc @JsonProperty("body") val body: String, // Desc
@JsonProperty("assets") val assets: List<GithubAsset>, @JsonProperty("assets") val assets: List<GithubAsset>,
@JsonProperty("target_commitish") val target_commitish: String, // branch @JsonProperty("target_commitish") val target_commitish: String, // branch
@JsonProperty("prerelease") var prerelease: Boolean, @JsonProperty("prerelease") val prerelease: Boolean,
) )
data class Update( data class Update(