Fix using tracking data from API in NPS poll
[MAILPOET-1815]
This commit is contained in:
committed by
M. Shull
parent
442b138d83
commit
514db707d0
@@ -42,7 +42,7 @@ class NpsPoll extends React.Component {
|
||||
displayPoll() {
|
||||
if (!this.state.pollShown) {
|
||||
this.setState({ pollShown: true });
|
||||
getTrackingData().then(this.callSatismeter);
|
||||
getTrackingData().then(data => this.callSatismeter(data.data));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user