diff --git a/ts/migrate-from-other-systems/migration_toolkit_map_migrationasset.ts b/ts/migrate-from-other-systems/migration_toolkit_map_migrationasset.ts index d81cf3ef..1c71d321 100644 --- a/ts/migrate-from-other-systems/migration_toolkit_map_migrationasset.ts +++ b/ts/migrate-from-other-systems/migration_toolkit_map_migrationasset.ts @@ -3,7 +3,7 @@ import { readFileSync } from "fs"; // Only if using local data const coverAsset: MigrationAsset = { // You can read the data from anywhere, not just from the filesystem - binaryData: readFileSync("./movies/posters/warrior.jpg"), + binary_data: readFileSync("./movies/posters/warrior.jpg"), // Ensure a unique asset codename. Check https://kontent.ai/learn/rules-for-codenames // This codename is used to reference the asset in the MigrationItem object codename: "warrior_teaser", @@ -26,4 +26,4 @@ const coverAsset: MigrationAsset = { ], }; -const migrationAssets: MigrationAsset[] = [coverAsset]; \ No newline at end of file +const migrationAssets: MigrationAsset[] = [coverAsset];