mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-17 16:39:08 +00:00
FIX: find all pipelines
This commit is contained in:
@@ -21,8 +21,7 @@ export class PipelinesClientConfiguration {
|
||||
loader: {
|
||||
keepCase: true,
|
||||
enums: String,
|
||||
objects: true,
|
||||
arrays: true,
|
||||
defaults: false,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -43,11 +43,9 @@ export class PipelinesService {
|
||||
|
||||
async findAll(data) {
|
||||
try {
|
||||
const findAllPipelineResponse = await this.pipelineClient.findAll({
|
||||
const { pipelines } = await this.pipelineClient.findAll({
|
||||
info: data,
|
||||
});
|
||||
|
||||
const pipelines = objectCamelToSnake(findAllPipelineResponse);
|
||||
pipelines.forEach((pipeline) => {
|
||||
this.adjustPayload(pipeline);
|
||||
});
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user