mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
Merge pull request #2801 from ErisDS/issue-2773
correct settings.edit call signature for installedApps
This commit is contained in:
commit
ec46dc93ec
@ -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 New Issue
Block a user