Skip to content

best way to save what you love

api/match-action: fix audio in tiktok picker

wukko8a24dbb42d5c
diff --git a/api/src/processing/match-action.js b/api/src/processing/match-action.js
index 5820214e..262b3acf 100644
--- a/api/src/processing/match-action.js
+++ b/api/src/processing/match-action.js
@@ -98,7 +98,7 @@ export default function({ r, host, audioFormat, isAudioOnly, isAudioMuted, disab
type: audioStreamType,
url: r.urls,
headers: r.headers,
- filename: r.audioFilename,
+ filename: `${r.audioFilename}.${audioFormat}`,
isAudioOnly: true,
audioFormat,
})