Switch to TypeORM's DataSource API #299

Merged
Vylpes merged 5 commits from feature/297-stage-deployment into develop 2023-05-26 17:59:22 +01:00
Showing only changes of commit 90eeba834c - Show all commits

View file

@ -42,7 +42,7 @@ export class CoreClient extends Client {
return; return;
} }
AppDataSource.initialize() await AppDataSource.initialize()
.then(() => console.log("Data Source Initialized")) .then(() => console.log("Data Source Initialized"))
.catch((err) => console.error("Error Initialising Data Source", err)); .catch((err) => console.error("Error Initialising Data Source", err));