1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00

Updated webhooks headers

This commit is contained in:
Eldad Fux 2020-02-02 21:06:16 +02:00
parent ae6c82f65a
commit 0f2de5ed22

View file

@ -65,7 +65,7 @@ class WebhooksV1
[
'Content-Type: application/json',
'Content-Length: '.strlen($payload),
'X-'.APP_NAME.'-Event: '.$event,
'X-'.APP_NAME.'-Webhook-Event: '.$event,
'X-'.APP_NAME.'-Webhook-Name: '.$name,
'X-'.APP_NAME.'-Webhook-Signature: '.$signature,
]