Use Authorization Header instead of Bearer Auth Header
All checks were successful
Run Tests on Code / run-tests (push) Successful in 20s

This commit is contained in:
Neshura 2024-08-07 23:01:12 +02:00
parent a9245c1a3c
commit 838414f9d6
Signed by: Neshura
GPG key ID: 4E2D47B1374C297D

View file

@ -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;