fix: remove datasource configuration from PrismaService constructor

This commit is contained in:
Nils-Johan Gynther
2026-04-15 21:03:24 +02:00
parent 5d80dfef6f
commit ba6ac036b5
+1 -1
View File
@@ -9,7 +9,7 @@ export class PrismaService
private readonly logger = new Logger(PrismaService.name); private readonly logger = new Logger(PrismaService.name);
constructor() { constructor() {
super({ datasources: { db: { url: process.env.DATABASE_URL } } }); super();
} }
async onModuleInit() { async onModuleInit() {