Skip to content

Commit

Permalink
fix(rpc): fix sendPost for rpc commands
Browse files Browse the repository at this point in the history
  • Loading branch information
TheKevJames committed Oct 13, 2017
1 parent dce2da9 commit 55d412d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions [email protected]/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,7 @@ const TransmissionDaemonMonitor = new Lang.Class({
let message = Soup.Message.new('POST', this._url);
message.set_request("application/x-www-form-urlencoded",
Soup.MemoryUse.COPY,
JSON.stringify(data),
JSON.stringify(data).length);
JSON.stringify(data));
if (this._session_id) {
message.request_headers.append("X-Transmission-Session-Id",
this._session_id);
Expand Down

0 comments on commit 55d412d

Please sign in to comment.