diff options
| -rw-r--r-- | app/components/Support.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/app/components/Support.js b/app/components/Support.js index 1d15229f99..9b37f85f4e 100644 --- a/app/components/Support.js +++ b/app/components/Support.js @@ -58,15 +58,11 @@ export default class Support extends Component<SupportProps, SupportState> { } _getLog(): Promise<string> { - const toRedact = []; - if (this.props.account.accountToken) { - toRedact.push(this.props.account.accountToken.toString()); - } - + const accountsToRedact = this.props.account.accountHistory; const { savedReport } = this.state; return savedReport ? Promise.resolve(savedReport) : - this.props.onCollectLog(toRedact) + this.props.onCollectLog(accountsToRedact) .then( path => { return new Promise(resolve => this.setState({ savedReport: path }, () => resolve(path))); }); |
