chore(xo-server/updateCloudConfig): don't return record

This commit is contained in:
Julien Fontanet
2023-12-21 15:32:09 +01:00
parent ea1921625e
commit afa957b305

View File

@@ -31,7 +31,7 @@ export default class {
async updateCloudConfig({ id, name, template }) {
const cloudConfig = await this.getCloudConfig(id)
patch(cloudConfig, { name, template })
return this._db.update(cloudConfig)
await this._db.update(cloudConfig)
}
deleteCloudConfig(id) {