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:
commit
ec46dc93ec
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ function saveInstalledApps(installedApps) {
|
||||||
return getInstalledApps().then(function (currentInstalledApps) {
|
return getInstalledApps().then(function (currentInstalledApps) {
|
||||||
var updatedAppsInstalled = _.uniq(installedApps.concat(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…
Add table
Reference in a new issue