Skip to content

Commit

Permalink
removed unnecessary loggers
Browse files Browse the repository at this point in the history
Signed-off-by: Nishad <nishad.shirsat@ayanworks.com>
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
  • Loading branch information
nishad-ayanworks authored and KulkarniShashank committed Sep 11, 2024
1 parent 3090448 commit 77b8ec2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions apps/api-gateway/src/connection/connection.controller.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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
) { }

/**
Expand Down
3 changes: 1 addition & 2 deletions apps/api-gateway/src/issuance/issuance.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
Controller,
Post,
Body,
Logger,
UseGuards,
BadRequestException,
HttpStatus,
Expand Down Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions apps/issuance/src/issuance.controller.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
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';
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' })
Expand Down

0 comments on commit 77b8ec2

Please sign in to comment.