File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ pub fn router(state: Arc<AppState>) -> Router {
4646 . route ( "/upload-agent" , post ( upload_agent) )
4747 . route ( "/agent-code" , get ( get_agent_code) )
4848 . route ( "/submit" , post ( submit_batch) )
49- . route ( "/batch/{id} " , get ( get_batch) )
50- . route ( "/batch/{id} /tasks" , get ( get_batch_tasks) )
51- . route ( "/batch/{id} /task/{ task_id} " , get ( get_task) )
49+ . route ( "/batch/:id " , get ( get_batch) )
50+ . route ( "/batch/:id /tasks" , get ( get_batch_tasks) )
51+ . route ( "/batch/:id /task/: task_id" , get ( get_task) )
5252 . route ( "/batches" , get ( list_batches) )
53- . route ( "/verify/{ batch_id} " , get ( verify_batch) )
53+ . route ( "/verify/: batch_id" , get ( verify_batch) )
5454 . route ( "/instance" , get ( instance_info) )
5555 . route ( "/dataset" , get ( fetch_dataset) )
5656 . route ( "/submit_tasks" , post ( submit_tasks) )
You can’t perform that action at this time.
0 commit comments