Fix some bugs recently introduced
This commit is contained in:
parent
21b95ce1d3
commit
ac48d552fa
2 changed files with 22 additions and 17 deletions
|
@ -61,7 +61,7 @@ window.textsecure.api = function() {
|
|||
return new Promise(function(resolve, reject) {
|
||||
$.ajax(URL_BASE + URL_CALLS[param.call] + param.urlParameters, {
|
||||
type : param.httpType,
|
||||
data : param.jsonData && jsonThing(param.jsonData),
|
||||
data : param.jsonData && textsecure.utils.jsonThing(param.jsonData),
|
||||
contentType : 'application/json; charset=utf-8',
|
||||
dataType : 'json',
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue