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
|
let res = client
|
||||||
.post(url)
|
.post(url)
|
||||||
.bearer_auth(auth.token)
|
.header(reqwest::header::AUTHORIZATION, auth.token)
|
||||||
.body(body)
|
.body(body)
|
||||||
.send()
|
.send()
|
||||||
.await;
|
.await;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue