diff --git a/lib/metadataTypes/Interaction.js b/lib/metadataTypes/Interaction.js index 7157723c0..eaca3e6f8 100644 --- a/lib/metadataTypes/Interaction.js +++ b/lib/metadataTypes/Interaction.js @@ -97,7 +97,8 @@ class Interaction extends MetadataType { results.items.map(async (a) => { try { return await this.client.rest.get( - `${uri}key:${a[this.definition.keyField]}?extras=${extras}` + `${uri}key:${a[this.definition.keyField]}?extras=${extras}` + + `&versionNumber=${a.version}` ); } catch (ex) { // if we do get here, we should log the error and continue instead of failing to download all automations