Skip to content

Commit

Permalink
chore: remove debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
yxuo committed Jan 19, 2024
1 parent 4fced53 commit 36a7bd0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/mail-history/mail-history.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ export class MailHistoryService {
}

async getStatusCount(): Promise<IMailHistoryStatusCount> {
console.log('getStatusCount');
const result: any[] = await this.inviteRepository
.createQueryBuilder('invite')
.select([
Expand Down
1 change: 0 additions & 1 deletion src/ticket-revenues/ticket-revenues.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export class TicketRevenuesController {
userId: isUserIdNumber ? userId : request.user.id,
};
const pagination: IPaginationOptions = { limit, page };
console.log({ args });
const response = await this.ticketRevenuesService.getMeFromUser(
args,
pagination,
Expand Down
1 change: 0 additions & 1 deletion src/users/users.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ export class UsersService {
paginationOptions: IPaginationOptions,
fields?: IFindUserPaginated,
): Promise<User[]> {
console.log('findManyWithPagination');
const isSgtuBlocked = fields?.isSgtuBlocked || fields?._anyField?.value;

let inviteStatus: any = null;
Expand Down
4 changes: 0 additions & 4 deletions src/utils/logging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,3 @@ export function formatErrorMessage(
}
return formattedString;
}

if (require.main === module) {
console.log(formatErrorMessage('mensagem', {}, new Error()));
}

0 comments on commit 36a7bd0

Please sign in to comment.