Merging upstream version 0.5.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
6b69abf4e7
commit
45ad53e42f
11 changed files with 2513 additions and 110 deletions
|
@ -164,7 +164,7 @@ async fn oauth2_login() {
|
|||
let code = code.unwrap();
|
||||
|
||||
// Redeem the code and check it works
|
||||
let url = url::Url::parse(&base_url).unwrap();
|
||||
let url = url::Url::parse(base_url).unwrap();
|
||||
let api = forgejo_api::Forgejo::new(forgejo_api::Auth::None, url.clone()).unwrap();
|
||||
|
||||
let request = forgejo_api::structs::OAuthTokenRequest::Confidential {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue