fix: nintendo routes

This commit is contained in:
DIYgod
2022-08-26 23:33:14 +01:00
parent 771be4829b
commit 24c6413cc6
+1 -1
View File
@@ -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));
})
);