Fix creation of content display report

This commit is contained in:
Jackson Harper 2023-01-09 15:55:44 +08:00
parent 126373a10d
commit 337b723d24

View file

@ -21,7 +21,7 @@ export const saveContentDisplayReport = async (
// reparsed or updated later, this gives us a view of exactly
// what the user saw.
const result = await repo.save({
userId: uid,
user: { id: uid },
elasticPageId: input.pageId,
content: page.content,
originalHtml: page.originalHtml || undefined,