fix: add type assertion for datasourceUrl in PrismaService constructor

This commit is contained in:
Nils-Johan Gynther
2026-04-15 21:10:44 +02:00
parent 3bfd7640cb
commit d5cb8d27e0
+2 -1
View File
@@ -9,7 +9,8 @@ export class PrismaService
private readonly logger = new Logger(PrismaService.name);
constructor() {
super({ datasourceUrl: process.env.DATABASE_URL });
// eslint-disable-next-line @typescript-eslint/no-explicit-any
super({ datasourceUrl: process.env.DATABASE_URL } as any);
}
async onModuleInit() {