Fix error with incorrect variable apptId
This commit is contained in:
parent
d5475e7055
commit
bdf4b5a7c4
@ -289,8 +289,8 @@ async function runner() {
|
|||||||
if (!config.apptId) {
|
if (!config.apptId) {
|
||||||
config.apptId = await getAppointmentId();
|
config.apptId = await getAppointmentId();
|
||||||
if (config.apptId) {
|
if (config.apptId) {
|
||||||
console.log(`Appointment ID: ${apptId}`);
|
console.log(`Appointment ID: ${config.apptId}`);
|
||||||
await chrome.storage.local.set({ "__apptId": apptId });
|
await chrome.storage.local.set({ "__apptId": config.apptId });
|
||||||
} else {
|
} else {
|
||||||
console.log('No appointments found');
|
console.log('No appointments found');
|
||||||
await chrome.storage.local.set({ "__status": "no appointment found" });
|
await chrome.storage.local.set({ "__status": "no appointment found" });
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user