feat: improved configuration

configuration now works with both env variables and config file
This commit is contained in:
Per Stark
2025-04-09 11:32:23 +02:00
parent c3c0f69bba
commit 804461ac01
6 changed files with 21 additions and 19 deletions

View File

@@ -151,7 +151,6 @@ pub async fn show_active_jobs(
State(state): State<HtmlState>,
RequireUser(user): RequireUser,
) -> Result<impl IntoResponse, HtmlError> {
return Ok(TemplateResponse::server_error());
let active_jobs = User::get_unfinished_ingestion_tasks(&user.id, &state.db).await?;
Ok(TemplateResponse::new_partial(