Skip to content

Commit 2ca061b

Browse files
committed
Fix workflowEvents not selecting system agents
1 parent 10f0c8c commit 2ca061b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/project/workflow/project-workflow.neo4j.repository.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class ProjectWorkflowNeo4jRepository
6565
relation('out', '', 'workflowEvent', ACTIVE),
6666
node('node'),
6767
relation('out', undefined, 'who'),
68-
node('who', 'User'),
68+
node('who', 'Actor'),
6969
])
7070
.match([
7171
node('project'),
@@ -104,7 +104,7 @@ export class ProjectWorkflowNeo4jRepository
104104
.apply(
105105
createRelationships(WorkflowEvent, {
106106
in: { workflowEvent: ['Project', project] },
107-
out: { who: ['User', session.userId] },
107+
out: { who: ['Actor', session.userId] },
108108
}),
109109
)
110110
.apply(this.hydrate())

0 commit comments

Comments
 (0)