Fix setSignedPreKey request - don't expect a JSON response (#1595)

Don't expect a json response from this endpoint. It will only give you
empty responses and exceptions. And sadness.

// FREEBIE
This commit is contained in:
Lilia 2017-10-23 15:41:27 -07:00 committed by Scott Nonnenberg
parent 6a895f0e27
commit 22ccd46f4c
2 changed files with 0 additions and 2 deletions

View file

@ -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)),

View file

@ -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)),