diff --git a/lib/routes/douban/people/status.js b/lib/routes/douban/people/status.js index cfd6c6280..e92b1e4c3 100644 --- a/lib/routes/douban/people/status.js +++ b/lib/routes/douban/people/status.js @@ -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 {