From e925d37e1bc948ba5021b2d05127a5e9ef0b4a33 Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Sat, 25 Jun 2022 18:11:07 +0700 Subject: [PATCH] Updated client config --- client.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client.js b/client.js index 22d0582..3a7db0e 100644 --- a/client.js +++ b/client.js @@ -244,11 +244,12 @@ program } else if (type === "server") { config.server = value; } else if (type === "clientId" || type === "client") { - if (!value || value === "new") { + if (!value || value === "" || value === "new") { config.clientId = generateUUID(); } else { config.clientId = value; } + console.log(`client: ${config.clientId} was set to config!`); } else if (type === "apiKey" || type === "key") { config.apiKey = value; } else {