Skip to content

Commit 6ba10b7

Browse files
committed
feature: update to new route name
1 parent b72e10c commit 6ba10b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/bin/file-worker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ async fn upload_file(
369369
});
370370

371371
let pdf2md_response = pdf2md_client
372-
.post(format!("{}/api/task/create", pdf2md_url))
372+
.post(format!("{}/api/task", pdf2md_url))
373373
.header("Content-Type", "application/json")
374374
.header("Authorization", &pdf2md_auth)
375375
.json(&json_value)

0 commit comments

Comments
 (0)