api/match-action: fix audio in tiktok picker

it didn't have an audio format in the filename, so it either failed or downloaded without an extension.

closes #870
This commit is contained in:
wukko 2024-11-24 19:02:10 +06:00
parent cdd349cfb6
commit 8a24dbb42d
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -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,
})