Skip to content

Commit

Permalink
remove stringify (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
imnutz authored Jun 27, 2022
1 parent b922c5b commit 9cd9e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/record.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ exports._sendRecord = function _sendRecord (request, success, error, blockedEven
}
} else {
requestHeaders['X-TD-Write-Key'] = request.apikey
payload = JSON.stringify(request.record)
payload = request.record
}

if (window.fetch && (this._windowBeingUnloaded || isClickedLink)) {
Expand Down

0 comments on commit 9cd9e6e

Please sign in to comment.