Compare commits
No commits in common. "main" and "0.0.7" have entirely different histories.
3 changed files with 8 additions and 8 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -34,7 +34,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "api-backend"
|
||||
version = "0.0.8"
|
||||
version = "0.0.7"
|
||||
dependencies = [
|
||||
"axum",
|
||||
"chrono",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
authors = ["Neshura"]
|
||||
name = "api-backend"
|
||||
version = "0.0.8"
|
||||
version = "0.0.7"
|
||||
edition = "2021"
|
||||
description = "API Backend For Easier Uploading To Kavita"
|
||||
license = "GPL-3.0-or-later"
|
||||
|
|
|
@ -214,7 +214,7 @@ async fn upload_file(state: &mut App, request: Request) {
|
|||
|
||||
let res = client
|
||||
.post(url)
|
||||
.header(reqwest::header::AUTHORIZATION, auth.token)
|
||||
.bearer_auth(auth.token)
|
||||
.body(body)
|
||||
.send()
|
||||
.await;
|
||||
|
|
Loading…
Reference in a new issue