Skip to content

Commit

Permalink
fix(get-history): Fix for using flatten results with output type split
Browse files Browse the repository at this point in the history
  • Loading branch information
zachowj committed Jan 5, 2020
1 parent d536c3c commit 38b9c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodes/get-history/get-history.js
Expand Up @@ -136,7 +136,7 @@ module.exports = function(RED) {
this.setStatusFailed('No Results');
return;
}
if (entityidtype.value === 'is') {
if (entityidtype.value === 'is' && !flatten) {
results = results[0];
}

Expand Down

0 comments on commit 38b9c9c

Please sign in to comment.