mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-20 04:12:23 -06:00
Path mapping & deps fix & bundler changed to tsup
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import { ConfigService } from '@config/env.config';
|
||||
import { Logger } from '@config/logger.config';
|
||||
import { PrismaClient } from '@prisma/client';
|
||||
|
||||
import { ConfigService } from '../../config/env.config';
|
||||
import { Logger } from '../../config/logger.config';
|
||||
|
||||
export class Query<T> {
|
||||
where?: T;
|
||||
sort?: 'asc' | 'desc';
|
||||
@@ -15,7 +14,7 @@ export class PrismaRepository extends PrismaClient {
|
||||
super();
|
||||
}
|
||||
|
||||
private readonly logger = new Logger(PrismaRepository.name);
|
||||
private readonly logger = new Logger('PrismaRepository');
|
||||
|
||||
public async onModuleInit() {
|
||||
await this.$connect();
|
||||
|
||||
Reference in New Issue
Block a user