From efea4724190ba555949256fda676bad43fa4a98a Mon Sep 17 00:00:00 2001 From: nahbee10 Date: Thu, 12 Dec 2024 01:33:50 +0900 Subject: [PATCH] make the data update cadence to 24 hours for side nav --- manifest.json | 2 +- src/modules/side-nav/api.ts | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index e574a8d2a..7001b8969 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "Copenhagen", "author": "Sanctuary Computer", - "version": "4.2.21", + "version": "4.2.22", "api_version": 4, "default_locale": "en-us", "settings": [ diff --git a/src/modules/side-nav/api.ts b/src/modules/side-nav/api.ts index 7e2ac1957..8b8c36114 100644 --- a/src/modules/side-nav/api.ts +++ b/src/modules/side-nav/api.ts @@ -135,10 +135,7 @@ export const sideNav = { const millisecondsIn24Hours = 24 * 60 * 60 * 1000; SideNavDataManager.set({ - // Set it like this for now since the client wants to QA the side nav with different items - expiresAt: Date.now() + 5000, - // TODO: uncomment the line below before launch - // expriresAt: Date.now() + millisecondsIn24Hours, + expiresAt: Date.now() + millisecondsIn24Hours, data: sanitizedResponse, });