Skip to content

Commit 2c7c1cc

Browse files
committed
DEVDOCS-12875 fix cD mkr to Step1
1 parent 7ccf4a6 commit 2c7c1cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/connect/examples/eg001_validate_webhook_message.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ def worker(args):
1818
1. Create an API client with headers
1919
2. Get your monitor data via SDK
2020
"""
21-
#ds-snippet-start:Connect1Step2
21+
#ds-snippet-start:Connect1Step1
2222
key = bytes(args['secret'], 'utf-8')
2323
payload = bytes(args['payload'], 'utf-8')
2424

2525
hmac_hash = hmac.new(key, payload, hashlib.sha256)
2626
result = base64.b64encode(hmac_hash.digest()).decode('utf-8')
27-
#ds-snippet-end:Connect1Step2
27+
#ds-snippet-end:Connect1Step1
2828

2929
return result

0 commit comments

Comments
 (0)