2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00

correct settings.edit call signature for installedApps

closes #2773

- this is left over from my refactoring work
This commit is contained in:
Hannah Wolfe 2014-05-24 08:21:17 +02:00
parent 11cf0ae125
commit 4aabce4474

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