diff --git a/Cargo.lock b/Cargo.lock
index a862c8d..f8e0f1c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -34,7 +34,7 @@ dependencies = [
 
 [[package]]
 name = "api-backend"
-version = "0.0.5"
+version = "0.0.6"
 dependencies = [
  "axum",
  "chrono",
diff --git a/Cargo.toml b/Cargo.toml
index a6a4e3c..8d38518 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
 [package]
 authors = ["Neshura"]
 name = "api-backend"
-version = "0.0.5"
+version = "0.0.6"
 edition = "2021"
 description = "API Backend For Easier Uploading To Kavita"
 license = "GPL-3.0-or-later"
diff --git a/src/main.rs b/src/main.rs
index f4b1cc2..95de97f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -203,7 +203,7 @@ async fn upload_file(state: &mut App, request: Request) {
     let url = format!("{}/api/Library/scan-folder", var("KAVITA_URL").expect("KAVITA_URL needs to be set in the .env file"));
 
     let request_body = LibraryScanBody {
-        directory: file.format,
+        folder_path: file.format,
         api_key: var("KAVITA_API_KEY").expect("KAVITA_API_KEY needs to be set in the .env file")
     };
     
@@ -249,6 +249,6 @@ async fn stream_to_file(path: &PathBuf, stream: BodyDataStream) -> Result<(), (S
 #[derive(Serialize)]
 #[serde(rename_all="camelCase")]
 struct LibraryScanBody {
-    directory: String,
+    folder_path: String,
     api_key: String,
 }