fix to region not being updated, and fill out server changelog view fields

This commit is contained in:
beckerinj
2022-05-20 15:52:09 -04:00
parent 1aea53ed5a
commit 6e7a2d51ec
2 changed files with 39 additions and 37 deletions
+2
View File
@@ -17,6 +17,8 @@ const servers = fp((app: FastifyInstance, _: {}, done: () => void) => {
memAlert: { type: Number, default: MEM_USAGE_NOTIFY_LIMIT },
diskAlert: { type: Number, default: DISK_USAGE_NOTIFY_LIMIT },
passkey: String,
region: String,
instanceID: String,
});
app.decorate("servers", model(app, "Server", schema));