Merge pull request #2801 from ErisDS/issue-2773

correct settings.edit call signature for installedApps
This commit is contained in:
Sebastian Gierlinger 2014-05-24 08:19:16 +02:00
commit ec46dc93ec

View File

@ -28,7 +28,7 @@ function saveInstalledApps(installedApps) {
return getInstalledApps().then(function (currentInstalledApps) {
var updatedAppsInstalled = _.uniq(installedApps.concat(currentInstalledApps));
return api.settings.edit({context: {internal: true}, key: 'installedApps'}, updatedAppsInstalled);
return api.settings.edit({settings: [{key: 'installedApps', value: updatedAppsInstalled}]}, {context: {internal: true}});
});
}