Fix notice "Array to string conversion"

This commit is contained in:
Michael 2021-10-25 20:54:36 +00:00
parent ad6d11b371
commit a0c1c3f661
2 changed files with 6 additions and 6 deletions

View file

@ -66,7 +66,7 @@ class PubSubPublish
$subscriber['topic']),
'X-Hub-Signature' => 'sha1=' . $hmac_sig];
Logger::debug('POST ' . ['headers' => $headers, 'params' => $params]);
Logger::debug('POST', ['headers' => $headers, 'params' => $params]);
$postResult = DI::httpClient()->post($subscriber['callback_url'], $params, $headers);
$ret = $postResult->getReturnCode();