Skip to content

Commit

Permalink
api/ok: fix author not being handled properly (#1009)
Browse files Browse the repository at this point in the history
  • Loading branch information
zjy4fun authored Feb 11, 2025
1 parent 0794788 commit ca0bc9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/processing/services/ok.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ca0bc9f

Please sign in to comment.