mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-06 05:03:44 +08:00
refactor: avoid promise overhead (#8028)
This commit is contained in:
@@ -42,7 +42,7 @@ module.exports = async (ctx) => {
|
||||
ctx.cache.set(key, item.description);
|
||||
}
|
||||
|
||||
return Promise.resolve(item);
|
||||
return item;
|
||||
})
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user