From a2d956305bb4680fd9dee94bfc3d9604d15581f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Thu, 9 Jan 2025 15:35:03 +0100 Subject: [PATCH] #1923: include refreshed journeys in the outcome list of publish --- lib/metadataTypes/Journey.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/metadataTypes/Journey.js b/lib/metadataTypes/Journey.js index 80ed8705f..bb3d5a1a2 100644 --- a/lib/metadataTypes/Journey.js +++ b/lib/metadataTypes/Journey.js @@ -2154,7 +2154,7 @@ class Journey extends MetadataType { if (refreshTransactionalKeys.length) { // in case we tried to publish a transactional journey that was already published we will instead run a refresh for those - await this.refresh(refreshTransactionalKeys); + executedKeyArr.push(...(await this.refresh(refreshTransactionalKeys))); } return executedKeyArr.filter(Boolean); }