mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
remove content from job data
This commit is contained in:
parent
247550a5d8
commit
37459f64c7
1 changed files with 10 additions and 2 deletions
|
|
@ -869,7 +869,11 @@ export const updateLibraryItem = async (
|
|||
// send create event if the item was created
|
||||
await pubsub.entityCreated<CreateItemEvent>(
|
||||
EntityType.PAGE,
|
||||
updatedLibraryItem,
|
||||
{
|
||||
...updatedLibraryItem,
|
||||
originalContent: undefined,
|
||||
readableContent: undefined,
|
||||
},
|
||||
userId,
|
||||
id
|
||||
)
|
||||
|
|
@ -1043,7 +1047,11 @@ export const createOrUpdateLibraryItem = async (
|
|||
|
||||
await pubsub.entityCreated<CreateItemEvent>(
|
||||
EntityType.PAGE,
|
||||
newLibraryItem,
|
||||
{
|
||||
...newLibraryItem,
|
||||
originalContent: undefined,
|
||||
readableContent: undefined,
|
||||
},
|
||||
userId,
|
||||
newLibraryItem.id
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue