Skip to content

Commit

Permalink
fix: use correct column name for correct member count (#2127)
Browse files Browse the repository at this point in the history
  • Loading branch information
aneeshrelan committed Oct 4, 2022
1 parent 9473ffd commit 528748e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/db/project-store.ts
Expand Up @@ -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')
Expand Down

0 comments on commit 528748e

Please sign in to comment.