From 40fda53b3d96103e1ad48815122b3d1fcaa0c4cb Mon Sep 17 00:00:00 2001 From: zjy4fun Date: Thu, 19 Dec 2024 15:55:27 +0800 Subject: [PATCH] api/ok: fix author not being handled properly --- api/src/processing/services/ok.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/processing/services/ok.js b/api/src/processing/services/ok.js index 10fb785bb..cfe18e49f 100644 --- a/api/src/processing/services/ok.js +++ b/api/src/processing/services/ok.js @@ -44,7 +44,7 @@ export default async function(o) { let fileMetadata = { title: videoData.movie.title.trim(), - author: (videoData.author?.name || videoData.compilationTitle).trim(), + author: (videoData.author?.name || videoData.compilationTitle)?.trim(), } if (bestVideo) return {