REFACTOR: removed inputs separated client service

This commit is contained in:
Gabriel Rosa
2022-08-11 17:39:50 -03:00
parent 117704cd8c
commit d8ce82793d
7 changed files with 257 additions and 294 deletions
+1 -2
View File
@@ -4,13 +4,12 @@ import { InputsGrpcClient } from './inputs-client.config';
import { InputsController } from './inputs.controller';
import { InputsService } from './inputs.service';
import { DadosferaLogger } from '@dadosfera/dadosfera-logs';
import { InputsClientService } from 'src/clients/inputs/client.service';
const client = new InputsGrpcClient();
@Module({
controllers: [InputsController],
providers: [InputsService, InputsClientService, DadosferaLogger],
providers: [InputsService, DadosferaLogger],
imports: [ClientsModule.register([client.providerOptions])],
exports: [InputsService],
})