api/match-action: clean up audio action

This commit is contained in:
wukko
2024-08-22 22:45:26 +06:00
parent b3d846a1e3
commit 102dec4a84
6 changed files with 31 additions and 42 deletions

View File

@@ -52,7 +52,7 @@ export default async function(obj) {
let video, videoFilename, audioFilename, audio, images,
filenameBase = `tiktok_${detail.author.uniqueId}_${postId}`,
bestAudio = 'm4a';
bestAudio; // will get defaulted to m4a later on in match-action
images = detail.imagePost?.images;