@veloceapps/api 8.0.0-180 → 8.0.0-182

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.
@@ -2662,11 +2662,13 @@ class ScriptsApiService {
2662
2662
  });
2663
2663
  };
2664
2664
  this.cloneScript$ = (cloneRequest) => {
2665
- return this.baseHttpService.api({
2665
+ return this.baseHttpService
2666
+ .api({
2666
2667
  url: `${this.serviceUrl}/${cloneRequest.id}/clone`,
2667
2668
  method: 'post',
2668
2669
  body: cloneRequest,
2669
- });
2670
+ })
2671
+ .pipe(map(response => response.clonedRecordId));
2670
2672
  };
2671
2673
  this.removeScript$ = (id) => {
2672
2674
  return this.baseHttpService.api({