Skip to content

Commit

Permalink
EN-199 Add copy data options to clone environment JS SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
matus12 committed Jul 15, 2024
1 parent 6d84bc3 commit 587f31f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/management-api-v2/cm_api_v2_clone_environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ const response = await client.cloneEnvironment()
.withData(
{
name: "Develop",
roles_to_activate: ["95671d8-1234-7890-ab45-1234b0b95000"]
roles_to_activate: ["95671d8-1234-7890-ab45-1234b0b95000"],
copy_data_options: {
content_items_assets: true,
content_item_version_history: false,
}
}
)
.toPromise();

0 comments on commit 587f31f

Please sign in to comment.