fix(route): douban 404 from resharing a deleted status (#7409)

如果转发的广播被删除了,就不应当再去请求被删除的原广播了……否则就会抛回404崩溃给你
This commit is contained in:
AgFlore
2021-05-10 17:45:18 -04:00
committed by GitHub
parent a8c14970c0
commit aa72a2c78c
+1 -1
View File
@@ -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 });