Support Forgejo servers
This commit is contained in:
@@ -424,7 +424,7 @@ pub async fn load_home(
|
||||
}
|
||||
|
||||
fn client(server: &Server) -> Result<Client, String> {
|
||||
Client::new(&server.url, Some(&server.token)).map_err(message)
|
||||
Client::with_provider(&server.url, Some(&server.token), server.provider).map_err(message)
|
||||
}
|
||||
|
||||
fn scope(owner: &str, repository: &str) -> Result<RepositoryId, String> {
|
||||
|
||||
Reference in New Issue
Block a user