We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
dmonad
Learn more about funding links in repositories.
Report abuse
2 parents 7945a5b + 01a6e80 commit 12608bdCopy full SHA for 12608bd
bin/callback.cjs
@@ -44,7 +44,7 @@ const callbackRequest = (url, timeout, data) => {
44
method: 'POST',
45
headers: {
46
'Content-Type': 'application/json',
47
- 'Content-Length': data.length
+ 'Content-Length': Buffer.byteLength(data)
48
}
49
50
const req = http.request(options)
0 commit comments