From f8db97ec79bcdce4de743feb8e6c336164019fe2 Mon Sep 17 00:00:00 2001 From: Erik Date: Mon, 20 May 2024 19:58:56 +0200 Subject: [PATCH] made initate credentials file async --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 5476ab4..0557874 100644 --- a/server.js +++ b/server.js @@ -80,7 +80,7 @@ async function initiate_commitee_file() { } } -function initiate_credentials_file() { +async function initiate_credentials_file() { if (!fs.existsSync(pathToCredentialsFile)) { fs.writeFileSync(pathToCredentialsFile, JSON.stringify([ {