feat: instantiate userId
This commit is contained in:
@@ -120,8 +120,9 @@ export class RemoteBrowser {
|
|||||||
* @param socket socket.io socket instance used to communicate with the client side
|
* @param socket socket.io socket instance used to communicate with the client side
|
||||||
* @constructor
|
* @constructor
|
||||||
*/
|
*/
|
||||||
public constructor(socket: Socket) {
|
public constructor(socket: Socket, userId: string) {
|
||||||
this.socket = socket;
|
this.socket = socket;
|
||||||
|
this.userId = userId;
|
||||||
this.interpreter = new WorkflowInterpreter(socket);
|
this.interpreter = new WorkflowInterpreter(socket);
|
||||||
this.generator = new WorkflowGenerator(socket);
|
this.generator = new WorkflowGenerator(socket);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user