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

如果转发的广播被删除了,就不应当再去请求被删除的原广播了……否则就会抛回404崩溃给你
This commit is contained in:
AgFlore 2021-05-11 05:45:18 +08:00 committed by GitHub
parent a8c14970c0
commit aa72a2c78c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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 });