diff --git a/apps/silo/src/apps/notion-importer/worker/phases/phase-one.ts b/apps/silo/src/apps/notion-importer/worker/phases/phase-one.ts index 7502bc75eb..a518d06cba 100644 --- a/apps/silo/src/apps/notion-importer/worker/phases/phase-one.ts +++ b/apps/silo/src/apps/notion-importer/worker/phases/phase-one.ts @@ -184,7 +184,7 @@ export class NotionPhaseOneMigrator extends NotionMigratorBase { const parsed = mimetics.parse(content); // Upload the asset and get the asset id const assetId = await protect( - client.assets.uploadAsset, + client.assets.uploadAsset.bind(client.assets), job.workspace_slug, new File([content], node.name, { type: parsed?.mime,