servers owners defaults to empty array

This commit is contained in:
mbecker20
2022-04-13 13:22:35 -07:00
parent 961f4d640c
commit 38320a4f8b
3 changed files with 3 additions and 1 deletions

1
cli/src/types.d.ts vendored
View File

@@ -17,6 +17,7 @@ export type CoreOrPeripheryConfig = {
sysroot: string;
port: number;
restart: string;
host?: string;
};
export type StartConfig = {

View File

@@ -7,6 +7,7 @@ export default function serverModel() {
address: String,
enabled: { type: Boolean, default: true },
isCore: Boolean,
owners: { type: [String], default: [] }
});
return model("Server", schema);