Explorar el Código

Merge pull request #293 from jitsi/fix_send_event_to_all

fix(statistics): sendEventToAll was not passing string to callstats
dev1
Дамян Минков hace 9 años
padre
commit
645e0bb726
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      modules/statistics/statistics.js

+ 1
- 1
modules/statistics/statistics.js Ver fichero

@@ -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…
Cancelar
Guardar