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
1 changed files with 2 additions and 2 deletions

View File

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