Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Cabecinha84 committed Jun 16, 2023
1 parent 01845d3 commit 7f3d74d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ZelBack/src/services/idService.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 {
Expand All @@ -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.
Expand Down

0 comments on commit 7f3d74d

Please sign in to comment.