8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa69122 commit b84d1ecCopy full SHA for b84d1ec
src/apify_client/_utils.py
@@ -128,6 +128,8 @@ def encode_webhook_list_to_base64(webhooks: list[dict]) -> str:
128
}
129
if 'payload_template' in webhook:
130
webhook_representation['payloadTemplate'] = webhook['payload_template']
131
+ if 'headers_template' in webhook:
132
+ webhook_representation['headersTemplate'] = webhook['headers_template']
133
data.append(webhook_representation)
134
135
return base64.b64encode(json.dumps(data).encode('utf-8')).decode('ascii')
0 commit comments