fix(route): douban 404 from resharing a deleted status (#7409)
如果转发的广播被删除了,就不应当再去请求被删除的原广播了……否则就会抛回404崩溃给你
This commit is contained in:
parent
a8c14970c0
commit
aa72a2c78c
|
|
@ -433,7 +433,7 @@ async function getFullTextItems(ctx, items) {
|
|||
cache = await ctx.cache.get(url);
|
||||
if (cache) {
|
||||
item.status.reshared_status.text = cache;
|
||||
} else {
|
||||
} else if (tryFixStatus(item.status.reshared_status).isFixSuccess) {
|
||||
const {
|
||||
data: { text },
|
||||
} = await got({ url, headers });
|
||||
|
|
|
|||
Loading…
Reference in New Issue