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) {
|
||||
config.apptId = await getAppointmentId();
|
||||
if (config.apptId) {
|
||||
console.log(`Appointment ID: ${apptId}`);
|
||||
await chrome.storage.local.set({ "__apptId": apptId });
|
||||
console.log(`Appointment ID: ${config.apptId}`);
|
||||
await chrome.storage.local.set({ "__apptId": config.apptId });
|
||||
} else {
|
||||
console.log('No appointments found');
|
||||
await chrome.storage.local.set({ "__status": "no appointment found" });
|
||||
|
||||
Loading…
Reference in New Issue
Block a user