mirror of
https://github.com/wukko/cobalt.git
synced 2025-03-26 11:14:44 +01:00
api/ok: fix author not being handled properly (#1009)
This commit is contained in:
parent
07947882c4
commit
ca0bc9f395
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue