Skip to content

Commit

Permalink
Merge pull request #2884 from akhilmhdh/fix/group-access-failing
Browse files Browse the repository at this point in the history
  • Loading branch information
maidul98 authored Dec 16, 2024
2 parents 64a982d + 44303ac commit 9cd0dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/services/project/project-dal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const projectDALFactory = (db: TDbClient) => {
.join(TableName.Project, `${TableName.GroupProjectMembership}.projectId`, `${TableName.Project}.id`)
.where(`${TableName.Project}.orgId`, orgId)
.andWhere((qb) => {
if (projectType) {
if (projectType !== "all") {
void qb.where(`${TableName.Project}.type`, projectType);
}
})
Expand Down

0 comments on commit 9cd0dc8

Please sign in to comment.