From 5d06da9bec437a67cd34c15afa1661edae04cd68 Mon Sep 17 00:00:00 2001 From: drptbl Date: Sat, 20 Apr 2024 21:42:37 +0200 Subject: [PATCH] fix: overwrite redis cache entires Signed-off-by: drptbl --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index 38f5558..ffcb846 100644 --- a/src/utils.js +++ b/src/utils.js @@ -115,7 +115,7 @@ module.exports = { const cacheSet = await redisClient.set(key, JSON.stringify(value), { EX: process.env.CACHE_TIME || ttl, - NX: true, + NX: false, }); return cacheSet; } catch (error) {