Use Authorization Header instead of Bearer Auth Header
All checks were successful
Run Tests on Code / run-tests (push) Successful in 20s
All checks were successful
Run Tests on Code / run-tests (push) Successful in 20s
This commit is contained in:
parent
a9245c1a3c
commit
838414f9d6
1 changed files with 6 additions and 6 deletions
|
@ -214,7 +214,7 @@ async fn upload_file(state: &mut App, request: Request) {
|
|||
|
||||
let res = client
|
||||
.post(url)
|
||||
.bearer_auth(auth.token)
|
||||
.header(reqwest::header::AUTHORIZATION, auth.token)
|
||||
.body(body)
|
||||
.send()
|
||||
.await;
|
||||
|
|
Loading…
Reference in a new issue