Skip to content

Commit

Permalink
fix select naming
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoE105 committed Feb 24, 2025
1 parent 503ed69 commit 1089806
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/databases/repositories/folder.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ export class FolderRepository extends Repository<FolderWithWorkflowCount> {
selections.push(...this.getParentFolderFields('parentFolder'));
}

if (select?.workflowsCount) {
query.loadRelationCountAndMap('folder.workflowsCount', 'folder.workflows');
if (select?.workflowCount) {
query.loadRelationCountAndMap('folder.workflowCount', 'folder.workflows');
}
}

Expand Down

0 comments on commit 1089806

Please sign in to comment.