Skip to content

Commit cb02115

Browse files
committed
Remove console log from findAndCount method and retain event emission for beforeFindAndCount
1 parent 514c82c commit cb02115

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/_common/abstracts/abstract.service.schema.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ export abstract class AbstractServiceSchema extends AbstractService implements S
8585
): Promise<[Array<T & Query<T, T, any, T>>, number]> {
8686
this.logger.debug(['findAndCount', JSON.stringify(Object.values(arguments))].join(' '))
8787
if (this.eventEmitter) {
88-
console.log('de', [this.moduleName.toLowerCase(), this.serviceName.toLowerCase(), 'service', 'beforeFindAndCount'].join(EventEmitterSeparator))
8988
const beforeEvents = await this.eventEmitter?.emitAsync(
9089
[this.moduleName.toLowerCase(), this.serviceName.toLowerCase(), 'service', 'beforeFindAndCount'].join(EventEmitterSeparator),
9190
{ filter, projection, options },

0 commit comments

Comments
 (0)