Version 4.7.6
This commit is contained in:
1 parent
8ba7d43898
commit
7b7404e741
1085 files changed
+30590
-7837
No files matched your search
@@ -60,11 +60,12 @@ class _webhooks extends \IPS\Task
|
||||
->setHeaders(
|
||||
[
|
||||
'User-Agent' => "InvisionCommunity/" . \IPS\Application::load('core')->long_version ,
|
||||
'Webhook-Event' => $fire['event']
|
||||
'Webhook-Event' => $fire['event'],
|
||||
'Content-Type' => $webhooks[ $fire['webhook'] ]['content_type']
|
||||
]
|
||||
)
|
||||
->login( $webhooks[ $fire['webhook'] ]['api_key'], '' )->post( $fire['data'] );
|
||||
|
||||
|
||||
if ( \IPS\Settings::i()->webhook_logs_success )
|
||||
{
|
||||
\IPS\Db::i()->update( 'core_api_webhook_fires', [
|
||||
|
||||
Reference in new issue
Block a user