aboutsummaryrefslogtreecommitdiff
path: root/src/server/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/index.ts')
-rw-r--r--src/server/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/index.ts b/src/server/index.ts
index ad9c5886c..01ebf0ac1 100644
--- a/src/server/index.ts
+++ b/src/server/index.ts
@@ -43,7 +43,7 @@ async function preliminaryFunctions() {
// divide the public directory based on type
await Promise.all(Object.keys(Partitions).map(partition => DashUploadUtils.createIfNotExists(filesDirectory + partition)));
// connect to the database
- await log_execution("attempting to initialize database connection", "connected", Database.tryInitializeConnection);
+ await Database.tryInitializeConnection();
}
/**