now images in tiktok module follow audio only mode properly
This commit is contained in:
parent
ecf2dac5d8
commit
4cd6461c4e
1 changed files with 8 additions and 0 deletions
|
@ -82,6 +82,14 @@ export default async function(obj) {
|
||||||
urls: video,
|
urls: video,
|
||||||
filename: videoFilename
|
filename: videoFilename
|
||||||
}
|
}
|
||||||
|
if (images && obj.isAudioOnly) {
|
||||||
|
return {
|
||||||
|
urls: audio,
|
||||||
|
audioFilename: audioFilename,
|
||||||
|
isAudioOnly: true,
|
||||||
|
isMp3: isMp3,
|
||||||
|
}
|
||||||
|
}
|
||||||
if (images) {
|
if (images) {
|
||||||
let imageLinks = [];
|
let imageLinks = [];
|
||||||
for (let i in images) {
|
for (let i in images) {
|
||||||
|
|
Loading…
Reference in a new issue