mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
remove user from highlight webhook event
This commit is contained in:
parent
30cc952f02
commit
c93fc14de8
1 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ export const createHighlight = async (
|
|||
|
||||
await pubsub.entityCreated<CreateHighlightEvent>(
|
||||
EntityType.HIGHLIGHT,
|
||||
{ ...newHighlight, pageId: libraryItemId },
|
||||
{ ...newHighlight, pageId: libraryItemId, user: undefined },
|
||||
userId
|
||||
)
|
||||
|
||||
|
|
@ -85,7 +85,7 @@ export const mergeHighlights = async (
|
|||
|
||||
await pubsub.entityCreated<CreateHighlightEvent>(
|
||||
EntityType.HIGHLIGHT,
|
||||
{ ...newHighlight, pageId: libraryItemId },
|
||||
{ ...newHighlight, pageId: libraryItemId, user: undefined },
|
||||
userId
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue