diff --git a/packages/api/src/services/update_pdf_content.ts b/packages/api/src/services/update_pdf_content.ts index 96ed85de2..7da584b74 100644 --- a/packages/api/src/services/update_pdf_content.ts +++ b/packages/api/src/services/update_pdf_content.ts @@ -52,7 +52,9 @@ export const updateContentForFileItem = async (msg: UpdateContentMessage) => { } const itemToUpdate: QueryDeepPartialEntity = { - ...msg, + title: msg.title, + description: msg.description, + author: msg.author, // content may not be present if we failed to parse the file originalContent: msg.content, // This event is fired after the file is fully uploaded,