diff --git a/apps/files/src/store/files.ts b/apps/files/src/store/files.ts index f43eae48d0267..107a5cdfdd9e8 100644 --- a/apps/files/src/store/files.ts +++ b/apps/files/src/store/files.ts @@ -103,8 +103,8 @@ export function useFilesStore(...args) { updateNodes(nodes: Node[]) { // Update the store all at once const files = nodes.reduce((acc, node) => { - if (!node.fileid) { - logger.error('Trying to update/set a node without fileid', { node }) + if (!node.id) { + logger.error('Trying to update/set a node without id', { node }) return acc }