0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

🐛 Fixed broken content import in Admin API v2 (#10299)

no issue
This commit is contained in:
Kevin Kuang 2018-12-20 05:01:48 -05:00 committed by Naz Gargol
parent 4c9d4ed664
commit 4a5a5acba7

View file

@ -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});
}
},