remove content from update event too

This commit is contained in:
Hongbo Wu
2024-03-26 17:46:38 +08:00
parent c3dba7e9da
commit d02d9444a9

View File

@ -889,7 +889,11 @@ export const updateLibraryItem = async (
await pubsub.entityUpdated<UpdateItemEvent>(
EntityType.PAGE,
libraryItem,
{
...libraryItem,
originalContent: undefined,
readableContent: undefined,
},
userId,
id
)