mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-27 08:52:10 +00:00
api/ok: fix author not being handled properly
This commit is contained in:
parent
4cdbb02de2
commit
40fda53b3d
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue