feat: instantiate userId

This commit is contained in:
amhsirak
2025-03-06 05:11:06 +05:30
parent c8a10c5230
commit 61914a562a

View File

@@ -120,8 +120,9 @@ export class RemoteBrowser {
* @param socket socket.io socket instance used to communicate with the client side
* @constructor
*/
public constructor(socket: Socket) {
public constructor(socket: Socket, userId: string) {
this.socket = socket;
this.userId = userId;
this.interpreter = new WorkflowInterpreter(socket);
this.generator = new WorkflowGenerator(socket);
}