Skip to content

Commit 4cb423e

Browse files
committed
update layer
1 parent f686413 commit 4cb423e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: .github/workflows/demo_provisioning_scripts/LDPlatform.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -704,8 +704,8 @@ def create_layer(
704704
):
705705

706706
payload = {
707-
"name": layer_name,
708-
"key": layer_key,
707+
"name": "Checkout Experiment Layer",
708+
"key": "checkout-experiment-layer",
709709
"description": description,
710710
}
711711

@@ -718,7 +718,7 @@ def create_layer(
718718
"POST",
719719
"https://app.launchdarkly.com/api/v2/projects/"
720720
+ self.project_key
721-
+ "/layers/",
721+
+ "/layers",
722722
json=payload,
723723
headers=headers,
724724
)

0 commit comments

Comments
 (0)