api/tiktok: return empty error if there's nothing to download
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
Run service tests / test service functionality (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled

sometimes posts are broken and don't have any valid media
This commit is contained in:
wukko 2025-07-06 00:04:40 +06:00
parent 14b9a590d9
commit 2ac0436f71
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2

View File

@ -168,4 +168,6 @@ export default async function(obj) {
headers: { cookie }
}
}
return { error: "fetch.empty" };
}