Skip to content

Commit

Permalink
EN-199 Add copy data options to clone environment JS SDK (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
matus12 authored Jul 16, 2024
1 parent 049558b commit ef76670
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: ["ee483b59-5a24-4010-b277-ae224c34bc71"]
roles_to_activate: ["ee483b59-5a24-4010-b277-ae224c34bc71"],
copy_data_options: {
content_items_assets: true,
content_item_version_history: false,
}
}
)
.toPromise();

0 comments on commit ef76670

Please sign in to comment.