mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-21 00:39:09 +00:00
Fix build Test
This commit is contained in:
@@ -21,7 +21,6 @@ import { GrpcClientConfiguration } from './config/grpc-client';
|
||||
|
||||
@Controller('transformation')
|
||||
export class TransformationsController implements OnModuleInit {
|
||||
|
||||
@Client(GrpcClientConfiguration)
|
||||
private transformationServiceClient: ClientGrpc;
|
||||
|
||||
@@ -36,11 +35,9 @@ export class TransformationsController implements OnModuleInit {
|
||||
|
||||
@Post()
|
||||
create(@Payload() createTransformationDto: CreateTransformationDto[]) {
|
||||
|
||||
return createTransformationDto.map((transf) =>
|
||||
this.transformationService.create(transf),
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
@Get()
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TransformationGrpcClientService } from './transformations.service';
|
||||
import { TransformationsService } from './transformations.service';
|
||||
import { TransformationsController } from './transformations.controller';
|
||||
|
||||
@Module({
|
||||
controllers: [TransformationsController],
|
||||
providers: [TransformationGrpcClientService]
|
||||
providers: [TransformationsService],
|
||||
})
|
||||
export class TransformationsModule {}
|
||||
|
||||
Reference in New Issue
Block a user