gog: no quotes around user, as for {eg, pg}

This commit is contained in:
Ralf Vogler 2023-05-11 18:50:54 +02:00
parent 6b13287b61
commit af935d4889

2
gog.js
View file

@ -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');