mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix: add author to the chapter in digest
This commit is contained in:
parent
6d0edbd61a
commit
505e3666b6
2 changed files with 2 additions and 0 deletions
|
|
@ -832,6 +832,7 @@ export const createDigest = async (jobData: CreateDigestData) => {
|
|||
thumbnail: item.libraryItem.thumbnail ?? undefined,
|
||||
wordCount: speechFiles[index].wordCount,
|
||||
html: summariesInHtml[index],
|
||||
author: item.libraryItem.author ?? '',
|
||||
})),
|
||||
createdAt: new Date(),
|
||||
description: '',
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ export interface Chapter {
|
|||
wordCount: number
|
||||
thumbnail?: string
|
||||
html: string
|
||||
author: string
|
||||
}
|
||||
|
||||
export interface Digest {
|
||||
|
|
|
|||
Loading…
Reference in a new issue