From 7331c266f48a76425b502d3377004462f9f3254a Mon Sep 17 00:00:00 2001 From: Maks Snegov Date: Thu, 2 May 2024 13:16:12 -0700 Subject: [PATCH] Do not send notification on HTTP401 --- scripts/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/content.js b/scripts/content.js index 6e72c94..9128c04 100644 --- a/scripts/content.js +++ b/scripts/content.js @@ -244,7 +244,7 @@ async function getAvailableDates(consulateId) { if (!response.ok) { if (response.status === 401) { - await sendNotification('Logged out due to 401 error'); + console.log('Logged out due to 401 error'); await logOut(); } const body = await response.text();