FIX: Fix runPipeline fail case return

This commit is contained in:
rodrigo.zamboni
2022-04-28 17:39:05 -03:00
parent 8a31e11445
commit ef2a24a0c3
+5
View File
@@ -223,6 +223,11 @@ export class PipelinesClientService implements OnModuleInit {
.triggerPipeline(objectSnakeToCamel({ id, info }))
.subscribe({
next(x) {
if (x.status == false) {
reject(
'This pipeline is not ready yet to execute, Try again later!',
);
}
resolve(x);
},
error(err) {