diff --git a/core/server/api/db.js b/core/server/api/db.js index e5e8bcdb05..ff8fed12dc 100644 --- a/core/server/api/db.js +++ b/core/server/api/db.js @@ -85,7 +85,9 @@ db = { function importContent(options) { return importer.importFromFile(options.importfile) - .then(api.settings.updateSettingsCache) + .then(function () { + api.settings.updateSettingsCache(); + }) .return({db: []}); }