From 24c6413cc6aa4d48bc11367838ab95ba291d7fcf Mon Sep 17 00:00:00 2001 From: DIYgod Date: Fri, 26 Aug 2022 23:33:14 +0100 Subject: [PATCH] fix: nintendo routes --- lib/routes/nintendo/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/nintendo/utils.js b/lib/routes/nintendo/utils.js index 083185e005..eea39b97db 100644 --- a/lib/routes/nintendo/utils.js +++ b/lib/routes/nintendo/utils.js @@ -65,7 +65,7 @@ const ProcessItem = (list, caches) => const ProcessNews = (list, caches) => Promise.all( list.map(async (item) => { - const other = await caches.tryGet(item.link, () => loadNews('https://www.nintendo.com.hk' + item.url)); + const other = await caches.tryGet(item.url, () => loadNews('https://www.nintendo.com.hk' + item.url)); return Promise.resolve(Object.assign({}, item, other)); }) );