mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
feat: centrelize logger
This commit is contained in:
@@ -11,7 +11,6 @@ import Papa from 'papaparse';
|
||||
|
||||
import { StdOutgoingListMessage } from '@/chat/schemas/types/message';
|
||||
import { ContentOptions } from '@/chat/schemas/types/options';
|
||||
import { LoggerService } from '@/logger/logger.service';
|
||||
import { BaseService } from '@/utils/generics/base-service';
|
||||
import { TFilterQuery } from '@/utils/types/filter.types';
|
||||
|
||||
@@ -31,10 +30,7 @@ export class ContentService extends BaseService<
|
||||
ContentFull,
|
||||
ContentDto
|
||||
> {
|
||||
constructor(
|
||||
readonly repository: ContentRepository,
|
||||
private readonly logger: LoggerService,
|
||||
) {
|
||||
constructor(readonly repository: ContentRepository) {
|
||||
super(repository);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user