From 7f3d74d570533a0805a98add84ec5938a1cd18bf Mon Sep 17 00:00:00 2001 From: Cabecinha84 Date: Fri, 16 Jun 2023 09:33:30 +0100 Subject: [PATCH] fix typo --- ZelBack/src/services/idService.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ZelBack/src/services/idService.js b/ZelBack/src/services/idService.js index 91a826b82..cac3afb5f 100644 --- a/ZelBack/src/services/idService.js +++ b/ZelBack/src/services/idService.js @@ -94,7 +94,7 @@ async function confirmNodeTierHardware() { * @param {object} res Response. * @returns {void} Return statement is only used here to interrupt the function and nothing is returned. */ -let firstloginPhraseExecution = true; +let firstLoginPhraseExecution = true; async function loginPhrase(req, res) { try { // check db @@ -106,7 +106,7 @@ async function loginPhrase(req, res) { await dbHelper.findOneInDatabase(database, collection, query, projection); // fast find call for db test // check synthing availability - if (!syncthingService.isRunning() && !firstloginPhraseExecution) { + if (!syncthingService.isRunning() && !firstLoginPhraseExecution) { if (syncthingWorking) { syncthingWorking = false; } else { @@ -115,7 +115,7 @@ async function loginPhrase(req, res) { } else { syncthingWorking = true; } - firstloginPhraseExecution = false; + firstLoginPhraseExecution = false; // check docker availablility await dockerService.dockerListImages(); // check Node Hardware Requirements are ok.