remove redundant field

This commit is contained in:
Hongbo Wu
2024-04-11 18:47:19 +08:00
parent 448c78a87e
commit f95642be2b

View File

@ -52,7 +52,9 @@ export const updateContentForFileItem = async (msg: UpdateContentMessage) => {
}
const itemToUpdate: QueryDeepPartialEntity<LibraryItem> = {
...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,