mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-01 14:57:14 +08:00
fix(route): /wechat/ershicimi (#15570)
* fix(route): /weixin/ershcimi * fix: move async function to outer scope * fix: assign return Promises to item * fix: really assign Promises to item
This commit is contained in:
@@ -43,12 +43,10 @@ async function handler(ctx) {
|
||||
})
|
||||
.get();
|
||||
|
||||
await Promise.all(items.map((item) => finishArticleItem(item)));
|
||||
|
||||
return {
|
||||
title: `微信公众号 - ${$('span.name').text()}`,
|
||||
link: url,
|
||||
description: $('div.Profile-sideColumnItemValue').text(),
|
||||
item: items,
|
||||
item: await Promise.all(items.map((item) => finishArticleItem(item).catch(() => item))),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user