Fix update check
This commit is contained in:
parent
374eee18d2
commit
e73622c033
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ class ReleaseServiceImpl(
|
||||||
override suspend fun releaseNotes(arguments: GetApplicationRelease.Arguments): List<Release> {
|
override suspend fun releaseNotes(arguments: GetApplicationRelease.Arguments): List<Release> {
|
||||||
return with(json) {
|
return with(json) {
|
||||||
networkService.client
|
networkService.client
|
||||||
.newCall(GET("https://api.github.com/repos/${arguments.repository}/releases/latest"))
|
.newCall(GET("https://api.github.com/repos/${arguments.repository}/releases"))
|
||||||
.awaitSuccess()
|
.awaitSuccess()
|
||||||
.parseAs<List<GithubRelease>>()
|
.parseAs<List<GithubRelease>>()
|
||||||
.mapNotNull { release ->
|
.mapNotNull { release ->
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue