This commit is contained in:
Antony 2022-08-24 02:42:41 +02:00
parent 6ab90504f4
commit df54745294

View file

@ -78,10 +78,18 @@ class GithubApi(index: Int) : InAppAuthAPIManager(index){
.call();
tmpDir.delete()
}
private class repos{
private class repos (
@JsonProperty("full_name") var repoName: String
)
}
private suspend fun initLogin(githubToken: String): Boolean{
val repoResponse = app.post("https://api.github.com/user/repos",
headers= mapOf(
"Accept" to "application/vnd.github+json",
"Authorization" to "token $githubToken"
)
)
val
val response = app.post("https://api.github.com/user/repos",
headers= mapOf(
"Accept" to "application/vnd.github+json",