From ada5d99128f5f726c72066657c03bd5544f5b0b5 Mon Sep 17 00:00:00 2001 From: baldo Date: Mon, 22 Feb 2021 22:35:40 +0100 Subject: [PATCH] Fix: Typo in field assignment. --- server/services/nodeService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/services/nodeService.ts b/server/services/nodeService.ts index 2f8255d..0b51578 100644 --- a/server/services/nodeService.ts +++ b/server/services/nodeService.ts @@ -289,7 +289,7 @@ async function parseNodeFile(file: string): Promise<{node: Node, nodeSecrets: No email: node.email as string || '', hostname: node.hostname as string || '', coords: node.coords as string || undefined, - key: node.coords as FastdKey || undefined, + key: node.key as FastdKey || undefined, mac: node.mac as string || '', monitoring: !!node.monitoring, monitoringConfirmed: !!node.monitoringConfirmed,