Changed the header name of the hmac to be generic.
This commit is contained in:
parent
47acc73451
commit
692d2e53b2
@ -46,7 +46,7 @@ class IDF_Webhook
|
|||||||
'user_agent' => 'Indefero Hook Sender (http://www.indefero.net)',
|
'user_agent' => 'Indefero Hook Sender (http://www.indefero.net)',
|
||||||
'max_redirects' => 0,
|
'max_redirects' => 0,
|
||||||
'timeout' => 15,
|
'timeout' => 15,
|
||||||
'header'=> 'Indefero-Hook-Hmac: '.$sign."\r\n"
|
'header'=> 'Post-Commit-Hook-Hmac: '.$sign."\r\n"
|
||||||
.'Content-Type: application/json'."\r\n",
|
.'Content-Type: application/json'."\r\n",
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user