diff --git a/src/lib/db/project-store.ts b/src/lib/db/project-store.ts index 88af2d6e55..363d8043ee 100644 --- a/src/lib/db/project-store.ts +++ b/src/lib/db/project-store.ts @@ -271,7 +271,7 @@ class ProjectStore implements IProjectStore { }) .union((queryBuilder) => { queryBuilder - .select('user_id', 'projects.name as project') + .select('user_id', 'projects.id as project') .from('role_user') .leftJoin('roles', 'role_user.role_id', 'roles.id') .crossJoin('projects')