Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaguiar committed May 15, 2024
1 parent 4f2e513 commit f6f7385
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/owrap.obj.js
Original file line number Diff line number Diff line change
Expand Up @@ -1893,6 +1893,8 @@ OpenWrap.obj.prototype.http.prototype.exec = function(aURL, aRequestType, aIn, a
} else {
aBody = Packages.okhttp3.MultipartBody.Builder().setType(Packages.okhttp3.MultipartBody.FORM).addFormDataPart(this.__ufn, this.__uf, Packages.okhttp3.RequestBody.create(isNull(mediaType) ? Packages.okhttp3.MediaType.get("application/octet-stream") : Packages.okhttp3.MediaType.get(mediaType), f)).build()
}
} else {
aBody = Packages.okhttp3.RequestBody.create(Packages.okhttp3.MediaType.get("application/json"), "")
}
}

Expand Down

0 comments on commit f6f7385

Please sign in to comment.