mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-29 01:38:26 +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 = {
|
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 a new issue