chg: [localTool:MISP] Indentation

pull/59/head
mokaddem 2021-06-28 08:54:08 +02:00
parent ab6d4eb8c6
commit 1be4978f28
1 changed files with 2 additions and 2 deletions

View File

@ -202,8 +202,8 @@ class MispConnector extends CommonConnectorTools
$url = $this->urlAppendParams($url, $params); $url = $this->urlAppendParams($url, $params);
$response = $http->post($settings['url'] . $url, json_encode($params['body']), [ $response = $http->post($settings['url'] . $url, json_encode($params['body']), [
'headers' => [ 'headers' => [
'AUTHORIZATION' => $settings['authkey'], 'AUTHORIZATION' => $settings['authkey'],
'Accept' => 'application/json', 'Accept' => 'application/json',
], ],
'type' => 'json', 'type' => 'json',
]); ]);