chore(xo-server/PluginMetadata#merge): don't return record

This commit is contained in:
Julien Fontanet 2023-12-21 15:37:13 +01:00
parent afa957b305
commit 5b00cf3ecd

View File

@ -29,7 +29,7 @@ export class PluginsMetadata extends Collection {
throw new Error('no such plugin metadata') throw new Error('no such plugin metadata')
} }
return /* await */ this.update({ await this.update({
...pluginMetadata, ...pluginMetadata,
...data, ...data,
}) })