angular-odata 0.150.0 → 0.151.0

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.
@@ -11382,7 +11382,7 @@ class ODataModel {
11382
11382
  return this._request(func.call(params, { responseType, ...options }), (resp) => resp);
11383
11383
  }
11384
11384
  }
11385
- callAction(name, params, responseType, { ...options } = {}) {
11385
+ callAction(name, params, responseType, options = {}) {
11386
11386
  const resource = this.resource();
11387
11387
  if (!(resource instanceof ODataEntityResource) || !resource.hasKey())
11388
11388
  return throwError(() => new Error("callAction: Can't call action without ODataEntityResource with key"));