mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: missing await in douban
This commit is contained in:
@@ -415,7 +415,7 @@ async function getFullTextItems(ctx, items) {
|
||||
await Promise.all(
|
||||
items.map(async (item) => {
|
||||
let url = prefix + item.status.id;
|
||||
let cache = ctx.cache.get(url);
|
||||
let cache = await ctx.cache.get(url);
|
||||
if (cache) {
|
||||
item.status.text = cache;
|
||||
} else {
|
||||
@@ -430,7 +430,7 @@ async function getFullTextItems(ctx, items) {
|
||||
return;
|
||||
}
|
||||
url = prefix + item.status.reshared_status.id;
|
||||
cache = ctx.cache.get(url);
|
||||
cache = await ctx.cache.get(url);
|
||||
if (cache) {
|
||||
item.status.reshared_status.text = cache;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user