Fixed Database creation, The error was that there were 2 simultaenous Database connections, causing an error when both attempted to connect at once.
This commit is contained in:
@@ -55,7 +55,7 @@ type ApiResponse = {
|
||||
};
|
||||
|
||||
// database creation if missing, runs here because this is the main file executed by the API.
|
||||
db_utils.ensureDatabaseExists();
|
||||
await db_utils.ensureDatabaseExists();
|
||||
|
||||
// +++ ROUTER ------------------------------------------------------- //
|
||||
// Creates the routes for the API server.
|
||||
|
||||
Reference in New Issue
Block a user