diff --git a/apps/api-gateway/src/connection/connection.controller.ts b/apps/api-gateway/src/connection/connection.controller.ts index 0672d4647..0042a9337 100644 --- a/apps/api-gateway/src/connection/connection.controller.ts +++ b/apps/api-gateway/src/connection/connection.controller.ts @@ -1,6 +1,6 @@ import IResponseType, {IResponse} from '@credebl/common/interfaces/response.interface'; import { ResponseMessages } from '@credebl/common/response-messages'; -import { Controller, Logger, Post, Body, UseGuards, HttpStatus, Res, Get, Param, UseFilters, Query, Inject } from '@nestjs/common'; +import { Controller, Post, Body, UseGuards, HttpStatus, Res, Get, Param, UseFilters, Query } from '@nestjs/common'; import { AuthGuard } from '@nestjs/passport'; import { ApiBearerAuth, ApiExcludeEndpoint, ApiForbiddenResponse, ApiOperation, ApiQuery, ApiResponse, ApiTags, ApiUnauthorizedResponse } from '@nestjs/swagger'; import { User } from '../authz/decorators/user.decorator'; @@ -31,9 +31,7 @@ import { ClientProxy } from '@nestjs/microservices'; @ApiForbiddenResponse({ status: 403, description: 'Forbidden', type: ForbiddenErrorDto }) export class ConnectionController { - private readonly logger = new Logger('Connection'); - constructor(private readonly connectionService: ConnectionService, - @Inject('NATS_CLIENT') private readonly connectionServiceProxy: ClientProxy + constructor(private readonly connectionService: ConnectionService ) { } /** diff --git a/apps/api-gateway/src/issuance/issuance.controller.ts b/apps/api-gateway/src/issuance/issuance.controller.ts index babd6ead1..f2d7f1cd4 100644 --- a/apps/api-gateway/src/issuance/issuance.controller.ts +++ b/apps/api-gateway/src/issuance/issuance.controller.ts @@ -5,7 +5,6 @@ import { Controller, Post, Body, - Logger, UseGuards, BadRequestException, HttpStatus, @@ -67,7 +66,7 @@ export class IssuanceController { private readonly issueCredentialService: IssuanceService, private readonly awsService: AwsService ) {} - private readonly logger = new Logger('IssuanceController'); + private readonly PAGE: number = 1; /** * @param orgId diff --git a/apps/issuance/src/issuance.controller.ts b/apps/issuance/src/issuance.controller.ts index f8b5bf697..7f261932b 100644 --- a/apps/issuance/src/issuance.controller.ts +++ b/apps/issuance/src/issuance.controller.ts @@ -1,4 +1,4 @@ -import { Controller, Logger } from '@nestjs/common'; +import { Controller } from '@nestjs/common'; import { MessagePattern } from '@nestjs/microservices'; import { ClientDetails, IIssuance, IIssuanceWebhookInterface, IIssueCredentials, IIssueCredentialsDefinitions, ImportFileDetails, OutOfBandCredentialOffer, PreviewRequest } from '../interfaces/issuance.interfaces'; import { IssuanceService } from './issuance.service'; @@ -6,7 +6,6 @@ import { IIssuedCredential } from '@credebl/common/interfaces/issuance.interface @Controller() export class IssuanceController { - private readonly logger = new Logger('issuanceService'); constructor(private readonly issuanceService: IssuanceService) { } @MessagePattern({ cmd: 'send-credential-create-offer' })