Skip to content

Commit 44cb31a

Browse files
#2422 only published var
Co-authored-by: Jörn Berkefeld <JoernBerkefeld@users.noreply.github.com>
1 parent 70bb189 commit 44cb31a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/metadataTypes/Journey.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class Journey extends MetadataType {
133133
journey = results.items.find(
134134
(a) => a[this.definition.keyField] === singleKey.slice(4)
135135
);
136-
} else if (mode === 'id') {
136+
} else if (Util.OPTIONS.onlyPublished && mode === 'id') {
137137
journey = results.items.find(
138138
(a) => a[this.definition.idField] === singleKey
139139
);

0 commit comments

Comments
 (0)