diff --git a/apps/labrinth/src/routes/internal/moderation/mod.rs b/apps/labrinth/src/routes/internal/moderation/mod.rs index 7efc76e198..6f966437af 100644 --- a/apps/labrinth/src/routes/internal/moderation/mod.rs +++ b/apps/labrinth/src/routes/internal/moderation/mod.rs @@ -1957,9 +1957,11 @@ where .await .wrap_internal_err("fetching projects from database")?; - let mut grouped_projects = HashMap::new(); + let mut grouped_projects: HashMap> = HashMap::new(); for project in &projects { - *grouped_projects.entry(project.inner.status).or_default().push(project.inner.id.into()); + *grouped_projects.entry(project.inner.status) + .or_default() + .push(project.inner.id.into()); } Ok(grouped_projects)