Merge pull request #45 from Syer10/getRepo

Fix getRepo function
This commit is contained in:
Aria Moradi 2021-04-01 23:15:45 +04:30 committed by GitHub
commit d6d5e97fbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ object ExtensionGithubApi {
}
}
fun findExtensions(): List<Extension.Available> {
suspend fun findExtensions(): List<Extension.Available> {
val service: ExtensionGithubService = ExtensionGithubService.create()
val response = service.getRepo()

View File

@ -42,5 +42,5 @@ interface ExtensionGithubService {
}
@GET("${ExtensionGithubApi.REPO_URL_PREFIX}/index.json.gz")
fun getRepo(): JsonArray
suspend fun getRepo(): JsonArray
}