diff --git a/src/backend/data/ChangeSet.ts b/src/backend/data/ChangeSet.ts index 94228ef57..1d5a2ac5d 100644 --- a/src/backend/data/ChangeSet.ts +++ b/src/backend/data/ChangeSet.ts @@ -156,7 +156,9 @@ export class ChangeSetCreator { const {workspace, files} = await this.graph.preferPublished.get( Query.whereId(entryId).select({ workspace: Query.workspace, - files: Query.children(MediaFile, 999) + files: Query.children(undefined!, 999).where( + Query.type.is('MediaFile') + ) }) ) const mediaDir =