diff --git a/apps/labrinth/src/database/models/organization_item.rs b/apps/labrinth/src/database/models/organization_item.rs index 37236a12df..52a1d1c4df 100644 --- a/apps/labrinth/src/database/models/organization_item.rs +++ b/apps/labrinth/src/database/models/organization_item.rs @@ -211,7 +211,7 @@ impl DBOrganization { exec: E, ) -> Result, super::DatabaseError> where - E: crate::database::Executor<'a, crate::Database = sqlx::Postgres>, + E: crate::database::Executor<'a, Database = sqlx::Postgres>, { use futures::TryStreamExt; diff --git a/apps/labrinth/src/routes/internal/moderation/mod.rs b/apps/labrinth/src/routes/internal/moderation/mod.rs index 7e620fba21..7efc76e198 100644 --- a/apps/labrinth/src/routes/internal/moderation/mod.rs +++ b/apps/labrinth/src/routes/internal/moderation/mod.rs @@ -40,10 +40,10 @@ pub fn config(cfg: &mut actix_web::web::ServiceConfig) { .service(release_lock) .service(release_lock_beacon) .service(delete_all_locks) - .service(get_user_project_status_counts) - .service(get_users_project_status_counts) - .service(get_organization_project_status_counts) - .service(get_organizations_project_status_counts) + .service(get_user_project_grouped) + .service(get_users_project_grouped) + .service(get_organization_project_grouped) + .service(get_organizations_project_grouped) .service(web::scope("/tech-review").configure(tech_review::config)) .service( web::scope("/external-license").configure(external_license::config),