adds code clean up

This commit is contained in:
Mohamed Amine Ben Salah 2020-02-21 15:20:46 -03:00
parent d2db75e9bb
commit 9e8be984d3

View File

@ -22,7 +22,7 @@ class Page {
// Join BigBlueButton meeting
async init(args, meetingId, newParams) {
this.effectiveParams = newParams || params;
const isModerator = !!this.effectiveParams.moderatorPW;
const isModerator = this.effectiveParams.moderatorPW;
this.browser = await puppeteer.launch(args);
this.page = await this.browser.newPage({ context: `bbb-${this.effectiveParams.fullName}` });