chore(xo-server/remotes): update accept array
This commit is contained in:
parent
16458b953f
commit
9f5be8029a
@ -47,7 +47,7 @@ export default class {
|
||||
app.addConfigManager(
|
||||
'remotes',
|
||||
() => this._remotes.get(),
|
||||
remotes => Promise.all(remotes.map(remote => this._remotes.update(remote)))
|
||||
remotes => this._remotes.update(remotes)
|
||||
)
|
||||
})
|
||||
app.hooks.on('start', async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user