Skip to content

Commit

Permalink
tiktok: throw a proper error if no video was returned from api
Browse files Browse the repository at this point in the history
  • Loading branch information
wukko committed Dec 29, 2023
1 parent a694972 commit 90f82ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/processing/services/tiktok.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function selector(j, h, id) {
t = j['aweme_detail'];
break;
}
if (t.length < 3) return false;
if (t?.length < 3) return false;
return t;
}

Expand Down

0 comments on commit 90f82ae

Please sign in to comment.