diff --git a/server/src/workflow-management/classes/Generator.ts b/server/src/workflow-management/classes/Generator.ts index 6d11b9ec..ffed090c 100644 --- a/server/src/workflow-management/classes/Generator.ts +++ b/server/src/workflow-management/classes/Generator.ts @@ -97,6 +97,9 @@ export class WorkflowGenerator { workflow: [], } ); socket.on('activeIndex', (data) => this.generatedData.lastIndex = parseInt(data)); + socket.on('decision', async ({pair, actionType, decision}) => { + const id = browserPool.getActiveBrowserId(); + }) };