mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-28 09:28:29 +00:00
api/ok: fix author not being handled properly (#1009)
This commit is contained in:
parent
07947882c4
commit
ca0bc9f395
@ -44,7 +44,7 @@ export default async function(o) {
|
|||||||
|
|
||||||
let fileMetadata = {
|
let fileMetadata = {
|
||||||
title: videoData.movie.title.trim(),
|
title: videoData.movie.title.trim(),
|
||||||
author: (videoData.author?.name || videoData.compilationTitle).trim(),
|
author: (videoData.author?.name || videoData.compilationTitle)?.trim(),
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bestVideo) return {
|
if (bestVideo) return {
|
||||||
|
Loading…
Reference in New Issue
Block a user