gog: no quotes around user, as for {eg, pg}
This commit is contained in:
parent
6b13287b61
commit
af935d4889
1 changed files with 1 additions and 1 deletions
2
gog.js
2
gog.js
|
|
@ -84,7 +84,7 @@ try {
|
||||||
if (!cfg.debug) context.setDefaultTimeout(cfg.timeout);
|
if (!cfg.debug) context.setDefaultTimeout(cfg.timeout);
|
||||||
}
|
}
|
||||||
user = await page.locator('#menuUsername').first().textContent(); // innerText is uppercase due to styling!
|
user = await page.locator('#menuUsername').first().textContent(); // innerText is uppercase due to styling!
|
||||||
console.log(`Signed in as '${user}'`);
|
console.log(`Signed in as ${user}`);
|
||||||
db.data[user] ||= {};
|
db.data[user] ||= {};
|
||||||
|
|
||||||
const banner = page.locator('#giveaway');
|
const banner = page.locator('#giveaway');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue