@resconet/jsbridge 17.2.1 → 17.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/JSBridge.js +2 -2
package/package.json
CHANGED
package/src/JSBridge.js
CHANGED
|
@@ -2824,13 +2824,13 @@
|
|
|
2824
2824
|
/// <param name="success" type="function(String)">A callback function for successful asynchronous result. The <b>result</b> argument will carry the XML representation of the Fetch object.</param>
|
|
2825
2825
|
/// <param name="failed" type="function(error)">A callback function for command failure. The <b>error</b> argument will carry the error message.</param>
|
|
2826
2826
|
/// <param name="scope" type="">A scope for calling the callbacks; set "null" to call the callbacks in global scope.</param>
|
|
2827
|
-
var reqParams = this._constructFetchParams();
|
|
2827
|
+
var reqParams = JSON.stringify(this._constructFetchParams());
|
|
2828
2828
|
MobileCRM.bridge.command("fetchToXml", reqParams, success, failed, scope);
|
|
2829
2829
|
};
|
|
2830
2830
|
MobileCRM.FetchXml.Fetch.prototype.serializeToXmlAsync = function () {
|
|
2831
2831
|
/// <summary>[v10.0] Serializes the Fetch object to XML.</summary>
|
|
2832
2832
|
/// <returns type="Promise<string>">A Promise object which will be resolved with the XML representation of this Fetch object.</returns>
|
|
2833
|
-
var reqParams = this._constructFetchParams();
|
|
2833
|
+
var reqParams = JSON.stringify(this._constructFetchParams());
|
|
2834
2834
|
return MobileCRM.bridge.invokeCommandPromise("fetchToXml", reqParams);
|
|
2835
2835
|
};
|
|
2836
2836
|
// MobileCRM.FetchXml.Entity
|