Updated Repository

Repositories and controllers are merged, since the functions would just be really redundant thanks to TypeORM
This commit is contained in:
Alexis
2021-08-02 16:44:40 +02:00
parent f12190c95a
commit 884edba504
8 changed files with 49 additions and 104 deletions

View File

@@ -44,8 +44,7 @@ export class AuracleApi {
}
/**
* Links the API with a Sequelize Database Object
* @param db_driver A Sequelize instance
* Links the API with a TypeORM connection
*/
private db_connect = async (db_driver: Promise<Connection>) => {
try {