From 573a271561f2c00d17c1c879ee52e8c339e1374c Mon Sep 17 00:00:00 2001 From: KoalaTrapLord <265133236+KoalaTrapLord@users.noreply.github.com> Date: Mon, 23 Mar 2026 22:19:21 -0400 Subject: [PATCH] fix: use correct query param format for batch status endpoint in overnight-batch.py The /api/lab/status endpoint uses ?batchId= query param, not path param /{batch_id} --- scripts/overnight-batch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/overnight-batch.py b/scripts/overnight-batch.py index 2932f33..6dde169 100644 --- a/scripts/overnight-batch.py +++ b/scripts/overnight-batch.py @@ -85,7 +85,7 @@ def start_batch(base_url, decks, num_games, playstyle, threads): def poll_batch(base_url, batch_id, poll_interval=5): """Poll batch status until complete. Returns final status.""" while True: - result = api_call(base_url, f"/api/lab/status/{batch_id}") + result = api_call(base_url, f"/api/lab/status?batchId={batch_id}") if result is None: time.sleep(poll_interval) continue