Skip to content

Commit 0ca4461

Browse files
Fix double /api in claim URL
queue_url already includes /api, so don't add it again. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 7cb7969 commit 0ca4461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jobs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ pub async fn run_worker(queue_url: String) -> Result<()> {
235235
}
236236

237237
async fn claim_job(queue_url: &str, worker_id: &str) -> Result<Option<Job>> {
238-
let url = format!("{}/api/jobs/claim", queue_url);
238+
let url = format!("{}/jobs/claim", queue_url);
239239
info!("Claiming job at: {}", url);
240240

241241
let client = reqwest::Client::new();

0 commit comments

Comments
 (0)