Fix error with incorrect variable apptId
This commit is contained in:
1 parent
d5475e7055
commit
bdf4b5a7c4
1 file changed
+2
-2
+2
-2
@@ -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" });
|
||||
|
||||
Reference in new issue
Block a user