@mablhq/mabl-cli 2.12.22 → 2.12.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.
@@ -831,7 +831,14 @@ class MablApiClient extends basicApiClient_1.BasicApiClient {
831
831
  }
832
832
  }
833
833
  async copyWorkspace(sourceWorkspaceId, destinationWorkspaceId, includeDefaults, includedTests, excludedTests) {
834
- return this.makePostRequest(`${this.baseApiUrl}/copy/organizations?source_workspace_id=${sourceWorkspaceId}&destination_workspace_id=${destinationWorkspaceId}&include_defaults=${includeDefaults}&included_tests=${includedTests.join(',')}&excluded_tests=${excludedTests.join(',')}`, {}, {
834
+ const copyParams = query_string_1.default.stringify({
835
+ source_workspace_id: sourceWorkspaceId,
836
+ destination_workspace_id: destinationWorkspaceId,
837
+ include_defaults: includeDefaults,
838
+ included_tests: includedTests,
839
+ excluded_tests: excludedTests,
840
+ });
841
+ return this.makePostRequest(`${this.baseApiUrl}/copy/organizations?${copyParams}`, {}, {
835
842
  timeout: 3600000,
836
843
  });
837
844
  }