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:
parent
11cf0ae125
commit
4aabce4474
1 changed files with 1 additions and 1 deletions
|
@ -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}});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue