mirror of
https://github.com/perstarkse/minne.git
synced 2026-05-31 03:40:38 +02:00
refactor: additional responsibilities to middleware, simplified handlers
fix
This commit is contained in:
@@ -120,13 +120,12 @@ pub async fn process_ingress_form(
|
||||
|
||||
#[derive(Serialize)]
|
||||
struct NewTasksData {
|
||||
user: User,
|
||||
tasks: Vec<IngestionTask>,
|
||||
}
|
||||
|
||||
Ok(TemplateResponse::new_template(
|
||||
"dashboard/current_task.html",
|
||||
NewTasksData { user, tasks },
|
||||
NewTasksData { tasks },
|
||||
))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user