mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-11-01 15:05:06 +01:00
commit
d6d5e97fbd
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user