diff --git a/js/libtextsecure.js b/js/libtextsecure.js index 9547372c5..fa5d03ea0 100644 --- a/js/libtextsecure.js +++ b/js/libtextsecure.js @@ -37745,7 +37745,6 @@ var TextSecureServer = (function() { return this.ajax({ call : 'signed', httpType : 'PUT', - responseType : 'json', jsonData : { keyId: signedPreKey.keyId, publicKey: btoa(getString(signedPreKey.publicKey)), diff --git a/libtextsecure/api.js b/libtextsecure/api.js index 055f10ba3..0c20d8416 100644 --- a/libtextsecure/api.js +++ b/libtextsecure/api.js @@ -308,7 +308,6 @@ var TextSecureServer = (function() { return this.ajax({ call : 'signed', httpType : 'PUT', - responseType : 'json', jsonData : { keyId: signedPreKey.keyId, publicKey: btoa(getString(signedPreKey.publicKey)),