Fix save docker host issue

This commit is contained in:
Louis Lam
2022-07-30 19:48:12 +08:00
parent f3322398e5
commit 8ced61697a
4 changed files with 18 additions and 9 deletions

View File

@@ -7,11 +7,11 @@ class DockerHost extends BeanModel {
*/
toJSON() {
return {
id: this._id,
userId: this._user_id,
daemon: this._dockerDaemon,
type: this._dockerType,
name: this._name,
id: this.id,
userID: this.user_id,
dockerDaemon: this.docker_daemon,
dockerType: this.docker_type,
name: this.name,
};
}
}