You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-25 05:23:13 +03:00
fix typo where headers was not being used and thus sent wrong mime
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -724,7 +724,7 @@ module.exports.MatrixHttpApi.prototype = {
|
|||||||
body: data,
|
body: data,
|
||||||
json: false,
|
json: false,
|
||||||
timeout: localTimeoutMs,
|
timeout: localTimeoutMs,
|
||||||
headers: opts.headers || {},
|
headers: headers || {},
|
||||||
_matrix_opts: this.opts,
|
_matrix_opts: this.opts,
|
||||||
},
|
},
|
||||||
function(err, response, body) {
|
function(err, response, body) {
|
||||||
|
|||||||
Reference in New Issue
Block a user