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
2 changed files with 2 additions and 2 deletions
@@ -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()
@@ -42,5 +42,5 @@ interface ExtensionGithubService {
}
@GET("${ExtensionGithubApi.REPO_URL_PREFIX}/index.json.gz")
fun getRepo(): JsonArray
suspend fun getRepo(): JsonArray
}