@veloceapps/api 7.0.2-87 → 7.0.2-88
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.
@@ -698,7 +698,9 @@ class SalesforceApiService {
|
|
698
698
|
return this.httpService.api({ method: 'post', url: methodUrl, body: fields, ...options });
|
699
699
|
}
|
700
700
|
apexGetRequest(path, params, options) {
|
701
|
-
|
701
|
+
// this line is needed because HttpParams instance from Integration behaves wrong in studio instance of Angular
|
702
|
+
const httpParams = new HttpParams({ fromString: params.toString() });
|
703
|
+
return this.httpService.api({ url: `${this.SERVICE_URL}/apex${path}`, params: httpParams, ...options });
|
702
704
|
}
|
703
705
|
apexPostRequest(path, body, options) {
|
704
706
|
return this.httpService.api({
|