Sfoglia il codice sorgente

Merge pull request #293 from jitsi/fix_send_event_to_all

fix(statistics): sendEventToAll was not passing string to callstats
dev1
Дамян Минков 9 anni fa
parent
commit
645e0bb726
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      modules/statistics/statistics.js

+ 1
- 1
modules/statistics/statistics.js Vedi File

@@ -505,7 +505,7 @@ Statistics.reportGlobalError = function (error) {
505 505
  */
506 506
 Statistics.sendEventToAll = function (eventName, data) {
507 507
     this.analytics.sendEvent(eventName, data);
508
-    Statistics.sendLog({name: eventName, data});
508
+    Statistics.sendLog(JSON.stringify({name: eventName, data}));
509 509
 };
510 510
 
511 511
 module.exports = Statistics;

Loading…
Annulla
Salva