api/tiktok: return empty error if there's nothing to download
sometimes posts are broken and don't have any valid media
This commit is contained in:
@@ -168,4 +168,6 @@ export default async function(obj) {
|
|||||||
headers: { cookie }
|
headers: { cookie }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return { error: "fetch.empty" };
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user