mirror of
https://github.com/dadosfera/maestro.git
synced 2026-10-30 02:49:09 +00:00
FEAT: parse objects
This commit is contained in:
@@ -253,12 +253,12 @@ export class PipelinesService implements OnModuleInit {
|
||||
async findOneObjects(id: string, metadata: Metadata) {
|
||||
this.logger.info('PipelinesClientService - FindOneObjects');
|
||||
|
||||
const findOnePipelineResponse = await lastValueFrom(
|
||||
const { objects } = await lastValueFrom(
|
||||
this.pipelineReadService.PipelineV2FindObjects({ id }, metadata),
|
||||
);
|
||||
this.logger.info('Done');
|
||||
|
||||
return findOnePipelineResponse;
|
||||
return { objects: JSON.parse(objects) };
|
||||
}
|
||||
|
||||
async uploadFile(uploadFile, metadata) {
|
||||
|
||||
Reference in New Issue
Block a user