From 844dd7e3af3963c061da082fef53eecbe84fb7e2 Mon Sep 17 00:00:00 2001 From: Morgan <33722304+ThyMinimalDev@users.noreply.github.com> Date: Thu, 11 Jul 2024 13:40:11 +0300 Subject: [PATCH] fix: remove console.log and tsignore apiv2 (#15732) --- apps/api/v2/src/ee/calendars/calendars.controller.e2e-spec.ts | 2 -- apps/api/v2/src/modules/billing/services/billing.service.ts | 1 - 2 files changed, 3 deletions(-) diff --git a/apps/api/v2/src/ee/calendars/calendars.controller.e2e-spec.ts b/apps/api/v2/src/ee/calendars/calendars.controller.e2e-spec.ts index 5178b9dcf5..d1c6e63049 100644 --- a/apps/api/v2/src/ee/calendars/calendars.controller.e2e-spec.ts +++ b/apps/api/v2/src/ee/calendars/calendars.controller.e2e-spec.ts @@ -71,8 +71,6 @@ describe("Platform Calendars Endpoints", () => { accessTokenSecret = tokens.accessToken; refreshTokenSecret = tokens.refreshToken; await app.init(); - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore jest .spyOn(CalendarsService.prototype, "getCalendars") .mockImplementation(CalendarsServiceMock.prototype.getCalendars); diff --git a/apps/api/v2/src/modules/billing/services/billing.service.ts b/apps/api/v2/src/modules/billing/services/billing.service.ts index 13390e00c3..d196cb00ec 100644 --- a/apps/api/v2/src/modules/billing/services/billing.service.ts +++ b/apps/api/v2/src/modules/billing/services/billing.service.ts @@ -133,7 +133,6 @@ export class BillingService { } async increaseUsageByClientId(clientId: string) { - console.log(this.configService.get("e2e"), "e2e"); if (this.configService.get("e2e")) { return void 0; }