We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70bb189 commit 44cb31aCopy full SHA for 44cb31a
1 file changed
lib/metadataTypes/Journey.js
@@ -133,7 +133,7 @@ class Journey extends MetadataType {
133
journey = results.items.find(
134
(a) => a[this.definition.keyField] === singleKey.slice(4)
135
);
136
- } else if (mode === 'id') {
+ } else if (Util.OPTIONS.onlyPublished && mode === 'id') {
137
138
(a) => a[this.definition.idField] === singleKey
139
0 commit comments