Remove User-Agent from form to upload debug log

This commit is contained in:
Scott Nonnenberg 2018-07-19 09:15:57 -07:00
parent 356fac8d14
commit 4ca674edb2

View file

@ -44,7 +44,6 @@ exports.upload = async content => {
const contentBuffer = Buffer.from(content, 'utf8');
const contentType = 'text/plain';
form.append('User-Agent', USER_AGENT);
form.append('Content-Type', contentType);
form.append('file', contentBuffer, {
contentType,