mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2025-01-12 00:39:07 +01:00
Fix getRepo function
This commit is contained in:
parent
57693fef7b
commit
1ae0a8326e
@ -40,7 +40,7 @@ object ExtensionGithubApi {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fun findExtensions(): List<Extension.Available> {
|
suspend fun findExtensions(): List<Extension.Available> {
|
||||||
val service: ExtensionGithubService = ExtensionGithubService.create()
|
val service: ExtensionGithubService = ExtensionGithubService.create()
|
||||||
|
|
||||||
val response = service.getRepo()
|
val response = service.getRepo()
|
||||||
|
@ -42,5 +42,5 @@ interface ExtensionGithubService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@GET("${ExtensionGithubApi.REPO_URL_PREFIX}/index.json.gz")
|
@GET("${ExtensionGithubApi.REPO_URL_PREFIX}/index.json.gz")
|
||||||
fun getRepo(): JsonArray
|
suspend fun getRepo(): JsonArray
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user