mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
put omnivore url in each chapter
This commit is contained in:
parent
7b2e336eca
commit
9bac4798b1
1 changed files with 2 additions and 1 deletions
|
|
@ -19,6 +19,7 @@ import { redisDataSource } from '../../redis_data_source'
|
|||
import { Digest, writeDigest } from '../../services/digest'
|
||||
import {
|
||||
findLibraryItemsByIds,
|
||||
getItemUrl,
|
||||
searchLibraryItems,
|
||||
} from '../../services/library_item'
|
||||
import {
|
||||
|
|
@ -693,7 +694,7 @@ export const createDigest = async (jobData: CreateDigestData) => {
|
|||
chapters: filteredSummaries.map((item, index) => ({
|
||||
title: item.libraryItem.title,
|
||||
id: item.libraryItem.id,
|
||||
url: item.libraryItem.originalUrl,
|
||||
url: getItemUrl(item.libraryItem.id),
|
||||
thumbnail: item.libraryItem.thumbnail ?? undefined,
|
||||
wordCount: speechFiles[index].wordCount,
|
||||
})),
|
||||
|
|
|
|||
Loading…
Reference in a new issue