Fix getRepo function

This commit is contained in:
Syer10 2021-04-01 14:42:13 -04:00
parent 57693fef7b
commit 1ae0a8326e
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
}