Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove content length and resolve type-error issue #29

Merged
merged 1 commit into from Nov 28, 2017
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Remove content length and resolve type-error issue

  • Loading branch information
Shweta Jain
Shweta Jain committed Nov 21, 2017
commit 7d2b41049615531241bcae3cd3baa67e81c07757
@@ -157,8 +157,7 @@ Loggly.prototype.log = function (msg, tags, callback) {
host: this.host,
accept: '*/*',
'user-agent': this.userAgent,
'content-type': this.json ? 'application/json' : 'text/plain',
'content-length': Buffer.byteLength(JSON.stringify(msg))
'content-type': this.json ? 'application/json' : 'text/plain'
}
};

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.