0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

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