pass NoteEntityService through Channel constructor instead of method args
This commit is contained in:
@@ -18,13 +18,13 @@ class RoleTimelineChannel extends Channel {
|
||||
private roleId: string;
|
||||
|
||||
constructor(
|
||||
private noteEntityService: NoteEntityService,
|
||||
noteEntityService: NoteEntityService,
|
||||
private roleservice: RoleService,
|
||||
|
||||
id: string,
|
||||
connection: Channel['connection'],
|
||||
) {
|
||||
super(id, connection);
|
||||
super(id, connection, noteEntityService);
|
||||
//this.onNote = this.onNote.bind(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user