chore(xo-server/updateCloudConfig): don't return record
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user