1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-23 17:02:25 +03:00

Merge pull request #643 from matrix-org/t3chguy/content-type-bugfix

fix typo where `headers` was not being used and thus sent wrong content-type
This commit is contained in:
Michael Telatynski
2018-06-08 12:29:35 +01:00
committed by GitHub

View File

@@ -730,7 +730,7 @@ module.exports.MatrixHttpApi.prototype = {
body: data,
json: false,
timeout: localTimeoutMs,
headers: opts.headers || {},
headers: headers || {},
_matrix_opts: this.opts,
},
function(err, response, body) {