We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 479f2d6 + e642866 commit a0a3fc0Copy full SHA for a0a3fc0
CHANGELOG.md
@@ -1,3 +1,8 @@
1
+## Version 25.03.X
2
+Fixes:
3
+- [populator] Fix nps generator
4
+
5
6
## Version 25.03.20
7
Fixes:
8
- [push] Fix: Migrate push to the new events model
plugins/populator/frontend/public/javascripts/countly.models.js
@@ -1815,8 +1815,13 @@
1815
},
1816
success: function(json, textStatus, xhr) {
1817
if (json && json.result) {
1818
- var id = json.result.split(" ");
1819
- npsWidgetList.push(id[2]);
+ if (json.result._id) {
+ npsWidgetList.push(json.result._id);
1820
+ }
1821
+ else if (json.result.text) {
1822
+ var id = json.result.text.split(" ");
1823
+ npsWidgetList.push(id[2]);
1824
1825
}
1826
callback(json, textStatus, xhr);
1827
0 commit comments