FIX: find all pipelines

This commit is contained in:
Gabriel Rosa
2022-09-09 09:48:19 -03:00
parent ad9c1fc40c
commit 35db24dc59
3 changed files with 3 additions and 6 deletions
+1 -2
View File
@@ -21,8 +21,7 @@ export class PipelinesClientConfiguration {
loader: {
keepCase: true,
enums: String,
objects: true,
arrays: true,
defaults: false,
},
},
};
+1 -3
View File
@@ -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
View File
File diff suppressed because one or more lines are too long