Controller: back to hosts, instances, modPacks, mods init to null

This commit is contained in:
Luciole committed 2023-08-14 11:26:48 +02:00
1 parent ef32f6f466
commit 25e65910dd
6 files changed
+67 -71

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ export default class ControllerRouter {
msg = `Host ${dst.id} is offline`;
}
} else if (dst.type === lib.Address.instance) {
let instance = this.controller.instances.get(dst.id);
let instance = this.controller.instances!.get(dst.id);
if (!instance) {
msg = `Instance ${dst.id} does not exist`;
} else {