parent
e98758efe2
commit
e1616c7bdc
|
|
@ -2,6 +2,9 @@ import { Injectable } from '@nestjs/common';
|
|||
|
||||
@Injectable()
|
||||
export class AppService {
|
||||
/**
|
||||
* Fonction qui retourne une salutation
|
||||
*/
|
||||
getHello(): string {
|
||||
return 'Hello World!';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@ export const DatabaseProvider: Provider = {
|
|||
process.env.DATABASE_URL || 'postgres://user:pass@localhost:5432/db';
|
||||
const client = postgres(connectionString);
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-assignment
|
||||
return drizzle(client, { schema }) as DrizzleDB;
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue