remove redundant field
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user