Skip to content

Commit c6f177d

Browse files
committed
stringify instead of jsonencode
1 parent 6ceb31e commit c6f177d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/recorder/session-recording.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ SessionRecording.prototype._flushEvents = addOptOutCheckMixpanelLib(function (da
412412
'replay_start_url': this.replayStartUrl,
413413
'seq': this.seqNo
414414
};
415-
var eventsJson = _.JSONEncode(data);
415+
var eventsJson = JSON.stringify(data);
416416

417417
// send ID management props if they exist
418418
var deviceId = this._mixpanel.get_property('$device_id');

0 commit comments

Comments
 (0)