mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-12 08:10:32 +08:00
refactor: remove await before cache.set
This commit is contained in:
@@ -36,7 +36,7 @@ module.exports = async (ctx) => {
|
||||
document.pubDate = new Date(Number($item('.standard-datetime').attr('data-epoch')) * 1000).toUTCString();
|
||||
document.guid = $item('.md5').text();
|
||||
|
||||
await ctx.cache.set(document.link, JSON.stringify(document));
|
||||
ctx.cache.set(document.link, JSON.stringify(document));
|
||||
|
||||
return document;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user