1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: use correct column name for correct member count (#2127)

This commit is contained in:
Aneesh Relan 2022-10-04 13:15:55 +05:30 committed by GitHub
parent 9473ffd4f2
commit 528748e757
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')