Switch to TypeORM's DataSource API #299
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue