mirror of
https://github.com/moghtech/komodo.git
synced 2026-09-09 16:02:44 +00:00
servers owners defaults to empty array
This commit is contained in:
@@ -10,7 +10,7 @@ const servers = fp((app: FastifyInstance, _: {}, done: () => void) => {
|
||||
address: { type: String, unique: true },
|
||||
enabled: { type: Boolean, default: true },
|
||||
isCore: Boolean,
|
||||
owners: [String],
|
||||
owners: { type: [String], default: [] },
|
||||
});
|
||||
|
||||
app.decorate("servers", model(app, "Server", schema));
|
||||
|
||||
Reference in New Issue
Block a user