diff --git a/packages/api/src/services/update_pdf_content.ts b/packages/api/src/services/update_pdf_content.ts index 7da584b74..c96b67dce 100644 --- a/packages/api/src/services/update_pdf_content.ts +++ b/packages/api/src/services/update_pdf_content.ts @@ -56,7 +56,7 @@ export const updateContentForFileItem = async (msg: UpdateContentMessage) => { description: msg.description, author: msg.author, // content may not be present if we failed to parse the file - originalContent: msg.content, + readableContent: msg.content, // This event is fired after the file is fully uploaded, // so along with updating content, we mark it as // succeeded or failed based on the message state