From c5582e7662dc62edc0a2d5af83ae5d34d5e22760 Mon Sep 17 00:00:00 2001 From: Maks Snegov Date: Wed, 24 Apr 2024 12:47:20 -0700 Subject: [PATCH] Initial date request will depend on frequency parameter --- scripts/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/content.js b/scripts/content.js index 50f758e..50fafcd 100644 --- a/scripts/content.js +++ b/scripts/content.js @@ -127,7 +127,7 @@ async function getConsulates() { "isSelected": option.selected, "bestDate": null, "currentDate": null, - "nextCheckAt": getFutureDate(0, 60), + "nextCheckAt": getFutureDate(0, config.frequency * MINUTE), }; } return consulatesDict;