@veloceapps/api 8.0.0-21 → 8.0.0-23
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.
@@ -716,7 +716,9 @@ class SalesforceApiService {
|
|
716
716
|
return this.httpService.api({ method: 'post', url: methodUrl, body: fields, ...options });
|
717
717
|
}
|
718
718
|
apexGetRequest(path, params, options) {
|
719
|
-
|
719
|
+
// this line is needed because HttpParams instance from Integration behaves wrong in studio instance of Angular
|
720
|
+
const httpParams = new HttpParams({ fromString: params.toString() });
|
721
|
+
return this.httpService.api({ url: `${this.SERVICE_URL}/apex${path}`, params: httpParams, ...options });
|
720
722
|
}
|
721
723
|
apexPostRequest(path, body, options) {
|
722
724
|
return this.httpService.api({
|