diff --git a/packages/logging-service/src/app.service.ts b/packages/logging-service/src/app.service.ts index f9b203dc..7263d33a 100644 --- a/packages/logging-service/src/app.service.ts +++ b/packages/logging-service/src/app.service.ts @@ -1,25 +1,4 @@ -import { Inject, Injectable, OnModuleInit } from '@nestjs/common'; -import { ClientGrpc } from '@nestjs/microservices'; -import { Observable } from 'rxjs'; - -interface LoggingService { - recordError(errorLogRequest: { message: string }): Observable; -} +import { Injectable } from '@nestjs/common'; @Injectable() -export class AppService implements OnModuleInit { - private loggingService: LoggingService; - - constructor(@Inject('LOGGING_SERVICE') private client: ClientGrpc) {} - - onModuleInit() { - this.loggingService = - this.client.getService('LoggingService'); - } - - // eslint-disable-next-line @typescript-eslint/no-unused-vars - recordError(message: string) { - // TODO: currently doing nothing here, but want to actually log the error - return; - } -} +export class AppService {}