chore(xo-server/remotes): update accept array

This commit is contained in:
Julien Fontanet 2023-12-21 13:52:50 +01:00
parent 16458b953f
commit 9f5be8029a

View File

@ -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 () => {