fix(xo-server/plugin.configure): properly merge previous config
This commit is contained in:
parent
628e53c1c3
commit
3899a65167
@ -166,7 +166,7 @@ export default class {
|
|||||||
// save the new configuration.
|
// save the new configuration.
|
||||||
async configurePlugin(id, configuration) {
|
async configurePlugin(id, configuration) {
|
||||||
const plugin = this._getRawPlugin(id)
|
const plugin = this._getRawPlugin(id)
|
||||||
const metadata = await this._getPluginMetadata()
|
const metadata = await this._getPluginMetadata(id)
|
||||||
|
|
||||||
if (metadata !== undefined) {
|
if (metadata !== undefined) {
|
||||||
configuration = sensitiveValues.merge(
|
configuration = sensitiveValues.merge(
|
||||||
|
Loading…
Reference in New Issue
Block a user