diff --git a/core/server/api/v2/db.js b/core/server/api/v2/db.js index 36edd8af94..96fc71a8f7 100644 --- a/core/server/api/v2/db.js +++ b/core/server/api/v2/db.js @@ -73,7 +73,7 @@ module.exports = { method: 'importContent' }, query(frame) { - return importer.importFromFile(frame.data, {include: frame.options.withRelated}); + return importer.importFromFile(frame.file, {include: frame.options.withRelated}); } },