FIX: adjusting pipeline payload fixed

This commit is contained in:
Gabriel Rosa
2022-05-20 08:50:08 -03:00
parent 45477b5750
commit 6be53bebaf
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ export class AuthClient {
options: {
url: process.env.DUC_URL,
package: DucPackages,
credentials: credentials.createSsl(),
// credentials: credentials.createSsl(),
protoPath: DucProtoFilePath,
loader: {
enums: String,
+1 -1
View File
@@ -12,7 +12,7 @@ export class PipelinesClientConfiguration {
options: {
url: process.env.PIFACTORY_URL,
package: PipelinePackages,
credentials: credentials.createSsl(),
// credentials: credentials.createSsl(),
protoPath: PipelineProtoFilePath,
loader: {
enums: String,
+1 -1
View File
@@ -61,7 +61,7 @@ export class PipelinesClientService implements OnModuleInit {
const findAllPipelineResponse = await new Promise((resolve, reject) => {
this.pipelineService.FindAll(objectSnakeToCamel(data)).subscribe({
next(x) {
resolve(x);
resolve(x.pipelines);
},
error(err) {
console.log('Observable Error');