Compare commits

...

2 commits
0.0.7 ... main

Author SHA1 Message Date
7905faa411
Release 0.0.8
All checks were successful
Run Tests on Code / run-tests (push) Successful in 42s
Build and release binary file and packages / test (push) Successful in 44s
Build and release binary file and packages / build (push) Successful in 41s
Build and release binary file and packages / upload-generic-package (push) Successful in 1s
Build and release binary file and packages / upload-debian-package (push) Successful in 2s
Build and release binary file and packages / create-release (push) Successful in 13s
2024-08-07 23:01:22 +02:00
838414f9d6
Use Authorization Header instead of Bearer Auth Header
All checks were successful
Run Tests on Code / run-tests (push) Successful in 20s
2024-08-07 23:01:12 +02:00
3 changed files with 8 additions and 8 deletions

2
Cargo.lock generated
View file

@ -34,7 +34,7 @@ dependencies = [
[[package]]
name = "api-backend"
version = "0.0.7"
version = "0.0.8"
dependencies = [
"axum",
"chrono",

View file

@ -1,7 +1,7 @@
[package]
authors = ["Neshura"]
name = "api-backend"
version = "0.0.7"
version = "0.0.8"
edition = "2021"
description = "API Backend For Easier Uploading To Kavita"
license = "GPL-3.0-or-later"

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;