瀏覽代碼

Merge pull request #293 from jitsi/fix_send_event_to_all

fix(statistics): sendEventToAll was not passing string to callstats
dev1
Дамян Минков 9 年之前
父節點
當前提交
645e0bb726
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      modules/statistics/statistics.js

+ 1
- 1
modules/statistics/statistics.js 查看文件

@@ -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…
取消
儲存